          if destination_format is not None:
              dst_fmt = destination_format
          elif self.src_format == "dfl":
              dst_fmt = "json"
          elif self.src_format in extensions.keys():
              dst_fmt = extensions[self.src_format]
          else:
              print("{} is not a supported serializer. "
                    "Exiting".format(self.src_format))
              exit(0)
  
 
</s> remove         elif self.src_format == "dfl":
 </s> add         elif self.file == "dfl": </s> remove                   "Exiting".format(self.src_format))
 </s> add                   "Exiting".format(file_ext)) </s> remove             return
        if not os.path.isfile(self.file):
 </s> add         elif not os.path.isfile(alignments_file): </s> remove 
        self.serializer = Serializer.get_serializer_from_ext(
            self.src_format)
        self.alignments = self.load()
        self.count = len(self.alignments)

        self.set_destination_serializer()
 </s> add         super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(destination_format)
        elif file_ext in extensions.keys():
            dst_fmt = extensions[file_ext]
          if destination_format is not None:
              dst_fmt = destination_format
          elif self.src_format == "dfl":
              dst_fmt = "json"
        elif file_ext in extensions.keys():
            dst_fmt = extensions[file_ext]
        elif file_ext in extensions.keys():
            dst_fmt = extensions[file_ext]
          else:
              print("{} is not a supported serializer. "
                    "Exiting".format(self.src_format))
              exit(0)
  
keep keep keep keep replace replace keep keep keep keep keep
 Fix convert-adjust (#531)

* Add dimensions to alignments + refactor

* Add frame_dims + funcs to DetectFaces. Add alignments lib

* Convert Adjust working

* Refactor and tidy up 
tools/lib_alignments/media.py