code: def ListFiles(self, ext_attrs=None):
      
      del ext_attrs  # Unused.
  
      if not self.IsDirectory():
        raise IOError("%s is not a directory" % self.pathspec.CollapsePath())
  
      for f in self.fd.as_directory():
        try:
          name = _DecodeUTF8WithWarning(f.info.name.name)
          # Drop these useless entries.
          if name in [".", ".."] or name in self.BLACKLIST_FILES:
            continue
  
          # First we yield a standard response using the default attributes.
          yield self.MakeStatResponse(f, tsk_attribute=None, append_name=name)
  
          # Now send back additional named attributes for the ADS.
          for attribute in f:
            if attribute.info.type in [
                pytsk3.TSK_FS_ATTR_TYPE_NTFS_DATA, pytsk3.TSK_FS_ATTR_TYPE_DEFAULT
            ]:
              if attribute.info.name:
                yield self.MakeStatResponse(
                    f, append_name=name, tsk_attribute=attribute)
        except AttributeError:
          pass
docs: List all the files in the directory.