code: def _get_files_recursively(rootdir):
      
      output = []
      for root, dirs, files in os.walk(rootdir):
          for filename in files:
              output.append(os.path.join(root, filename))
  
      return output
docs: Sometimes, we want to use this tool with non-git repositories.
      This function allows us to do so.