code: def read_files(path):
      
      template = {}
      for file_name in os.listdir(path):
          with open(os.path.join(path, file_name), 'r') as f:
              template[file_name] = replace_whitespace(
                  f.read(), insert=True)
  
      return template
docs: For a directory full of files, retrieve it
      as a dict with file_name:text