docs: def set_from_file(file_name):
      """
      Merge configuration from a file with JSON data
  
      :param file_name: name of the file to be read
      :raises TypeError: if file_name is not str
      """
      if type(file_name) != str:
          raise TypeError('file_name must be str')
      global _config_file_name
      _config_file_name = file_name
      # Try to open the file and get the json data into a dictionary
      with open(file_name, "r") as file:
          data = yaml.load(file)
      # each value found will overwrite the same value in the config
      _list_merge(data, _config)