from email.mime.text [...] .ui.open_file_dialog("Choose multiple files:", filter="Text [...] :", filter="Text files