code: def get_data_files(top):
      
  
      data_files = []
      ntrim = len(here + os.path.sep)
  
      for (d, _, filenames) in os.walk(top):
          data_files.append((
              d[ntrim:],
              [os.path.join(d, f) for f in filenames]
          ))
      return data_files
docs: Get data files