      def _filetypes(self):
          """ dict: The accepted extensions for each file type for opening/saving """
          all_files = ("All files", "*.*")
          filetypes = dict(
              default=(all_files,),
              alignments=[("Faceswap Alignments", "*.fsa"), all_files],
              config_project=[("Faceswap Project files", "*.fsw"), all_files],
              config_task=[("Faceswap Task files", "*.fst"), all_files],
              config_all=[("Faceswap Project and Task files", "*.fst *.fsw"), all_files],
              csv=[("Comma separated values", "*.csv"), all_files],
 
</s> remove     def _filetypes(self):
 </s> add     def _filetypes(self) -> Dict[str, List[Tuple[str, str]]]: </s> remove         defaults = {key: next(ext for ext in val[0][1].split(" ")).replace("*", "")
                    for key, val in self._filetypes.items()}
 </s> add         defaults: Dict[str, Optional[str]] = {
            key: next(ext for ext in val[0][1].split(" ")).replace("*", "")
            for key, val in self._filetypes.items()} </s> remove         self.commands = dict()
        self.opts = dict()
 </s> add         self.commands = {}
        self.opts = {} </s> remove     def _set_defaults(self):
 </s> add     def _set_defaults(self) -> Dict[str, Optional[str]]:
            default=[all_files],
      def _filetypes(self):
          """ dict: The accepted extensions for each file type for opening/saving """
          all_files = ("All files", "*.*")
          filetypes = dict(
            default=[all_files],
              alignments=[("Faceswap Alignments", "*.fsa"), all_files],
              config_project=[("Faceswap Project files", "*.fsw"), all_files],
              config_task=[("Faceswap Task files", "*.fst"), all_files],
              config_all=[("Faceswap Project and Task files", "*.fst *.fsw"), all_files],
              csv=[("Comma separated values", "*.csv"), all_files],
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py