                       self.__class__.__name__, alignments_file)
          logger.info("[ALIGNMENT DATA]")  # Tidy up cli output
          folder, filename = self.check_file_exists(alignments_file)
          if filename.lower() == "dfl":
              self.serializer = get_serializer("compressed")
              self.file = "{}.{}".format(filename.lower(), self.serializer.file_extension)
              return
          super().__init__(folder, filename=filename)
          logger.verbose("%s items loaded", self.frames_count)
          logger.debug("Initialized %s", self.__class__.__name__)
  
 
</s> remove         self.serializer = get_serializer("compressed")
        self.file = self.get_location(folder, filename)

        self.data = self.load()
        self.update_legacy()
 </s> add         self._serializer = get_serializer("compressed")
        self._file = self._get_location(folder, filename)
        self._data = self._load()
        self._update_legacy() </s> remove     # pylint: disable=too-many-public-methods
 </s> add  </s> remove         self.alignments.data = self.load_dfl()
        self.alignments.file = self.alignments.get_location(self.faces.folder, "alignments")
 </s> add         self.alignments.data_from_dfl(self.load_dfl(), self.faces.folder) </s> remove             exit(0)
 </s> add             sys.exit(1) </s> remove             filename = self.update_file_format(folder, filename)
 </s> add             filename = self._update_file_format(folder, filename)
            self._serializer = get_serializer("compressed")
            self.file = "{}.{}".format(filename.lower(), self._serializer.file_extension)
                       self.__class__.__name__, alignments_file)
          logger.info("[ALIGNMENT DATA]")  # Tidy up cli output
          folder, filename = self.check_file_exists(alignments_file)
          if filename.lower() == "dfl":
            self._serializer = get_serializer("compressed")
            self.file = "{}.{}".format(filename.lower(), self._serializer.file_extension)
            self._serializer = get_serializer("compressed")
            self.file = "{}.{}".format(filename.lower(), self._serializer.file_extension)
              return
          super().__init__(folder, filename=filename)
          logger.verbose("%s items loaded", self.frames_count)
          logger.debug("Initialized %s", self.__class__.__name__)
  
keep keep keep keep replace replace keep keep keep keep keep
 lib.alignments - Slight update (#978)

* lib.alignments update:
  - Minor structure change (faces to nested dictionary)
  - Refactor internal and external methods
  - Documentation 
tools/lib_alignments/media.py