code: def _list_files(self, path):
          
          files = []
          for f in glob.glob(pathname=path):
              files.append(f)
          files.sort()
          return files
docs: lists files in a given directory