docs: def read_file(file_path, mode = 'rt'):
      """
      Read the contents of a file
  
      :param file_path:                   Path of the file to be read
  
      :return:                            Contents of the file
      """
      contents = ''
      with open(file_path, mode) as f:
          contents = f.read()
      return contents