code: def get_file_list(self):
          
          if os.path.isdir(self.root_path):
              return [os.path.join(self.root_path, f) for f in os.listdir(self.root_path)
                      if os.path.isfile(os.path.join(self.root_path, f))]
          else:
              return [self.root_path]
docs: Retrieve the list of absolute paths to all the files in this data source.
  
          Returns:
               List[str] List of absolute paths.