      def filetypes(self):
          """ Set the filetypes for opening/saving """
          all_files = ("All files", "*.*")
          filetypes = {"default": (all_files,),
                       "alignments": [("Faceswap Alignments", "*.fsa"),
                                      all_files],
                       "config": [("Faceswap GUI config files", "*.fsw"), all_files],
                       "csv": [("Comma separated values", "*.csv"), all_files],
                       "image": [("Bitmap", "*.bmp"),
                                 ("JPG", "*.jpeg *.jpg"),
 
</s> remove         extension = os.path.splitext(filename)[1]
 </s> add         noext_name, extension = os.path.splitext(filename) </s> remove             filename = "{}.{}".format(os.path.splitext(filename)[0], self.serializer.file_extension)
 </s> add             filename = "{}.{}".format(noext_name, self.serializer.file_extension)
                     "alignments": [("Faceswap Alignments", "*.fsa *.json"),
      def filetypes(self):
          """ Set the filetypes for opening/saving """
          all_files = ("All files", "*.*")
          filetypes = {"default": (all_files,),
                     "alignments": [("Faceswap Alignments", "*.fsa *.json"),
                                      all_files],
                       "config": [("Faceswap GUI config files", "*.fsw"), all_files],
                       "csv": [("Comma separated values", "*.csv"), all_files],
                       "image": [("Bitmap", "*.bmp"),
                                 ("JPG", "*.jpeg *.jpg"),
keep keep keep keep replace keep keep keep keep keep
 Add json to the filter in the GUI alignment open dialog 
lib/gui/utils.py