code: def ListFiles(self, ext_attrs=False):
      
      if not self.IsDirectory():
        raise IOError("%s is not a directory." % self.path)
  
      for path in self.files:
        try:
          filepath = utils.JoinPath(self.path, path)
          response = self._Stat(filepath, ext_attrs=ext_attrs)
          pathspec = self.pathspec.Copy()
          pathspec.last.path = utils.JoinPath(pathspec.last.path, path)
          response.pathspec = pathspec
  
          yield response
        except OSError:
          pass
docs: List all files in the dir.