(ENHANCE) Port the error that appears when parsing a file fails to ttk_dialog