              A dictionary for each face found containing the keys returned from
              :class:`lib.image.read_image_meta_batch`
          """
          logger.info("Loading file list from %s", self.folder)
  
          if is_legacy:  # Legacy updating
              filelist = [os.path.join(self.folder, face)
                          for face in os.listdir(self.folder)
                          if self.valid_extension(face)]
 
</s> remove         if self._alignments is not None:  # Legacy updating
 </s> add         if is_legacy:  # Legacy updating </s> remove         kwargs = {}
        if alignments.version < 2.1:
            # Update headers of faces generated with hash based alignments
            kwargs["alignments"] = alignments
        self._items = Faces(arguments.faces_dir, **kwargs)  # type:ignore  # needs TypedDict :/
 </s> add         self._items = Faces(arguments.faces_dir, alignments=alignments) </s> remove         The alignments object that contains the faces. Used to update legacy hash based faces
        for <v2.1 alignments to png header based version. Pass in ``None`` to not update legacy
        faces (raises error instead). Default: ``None``
 </s> add         The alignments object that contains the faces. This can be used for 2 purposes:
        - To update legacy hash based faces for <v2.1 alignments to png header based version.
        - When the remove-faces job is being run, when the process will only load faces that exist
        in the alignments file. Default: ``None``
        is_legacy = self._alignments is not None and self._alignments.version < 2.1
        filter_count = 0
              A dictionary for each face found containing the keys returned from
              :class:`lib.image.read_image_meta_batch`
          """
          logger.info("Loading file list from %s", self.folder)
        is_legacy = self._alignments is not None and self._alignments.version < 2.1
        filter_count = 0
  
          if is_legacy:  # Legacy updating
              filelist = [os.path.join(self.folder, face)
                          for face in os.listdir(self.folder)
                          if self.valid_extension(face)]
keep keep keep add keep keep keep keep keep
 bugfix: - Alignment tool - remove faces:
  - Only process faces that exist in alignments file 
tools/alignments/media.py