code: def _read_file(file_name):
      
      with open(file_name) as config_file:
          data = json.load(config_file)
      return data
docs: Read the file content and load it as JSON.
  
      Arguments:
        file_name (:py:class:`str`): The filename.
  
      Returns:
        :py:class:`dict`: The loaded JSON data.
  
      Raises:
        :py:class:`FileNotFoundError`: If the file is not found.