code: def files(self, *args, **kwargs):
          
  
          return [p for p in self.listdir(*args, **kwargs) if p.isfile()]
docs: D.files() -> List of the files in this directory.
  
          The elements of the list are Path objects.
          This does not walk into subdirectories (see :meth:`walkfiles`).
  
          Accepts parameters to :meth:`listdir`.