code: def load_configuration(yaml: yaml.ruamel.yaml.YAML, filename: str) -> DictLike:
      
      with open(filename, "r") as f:
          config = yaml.load(f)
  
      return config
docs: Load an analysis configuration from a file.
  
      Args:
          yaml: YAML object to use in loading the configuration.
          filename: Filename of the YAML configuration file.
      Returns:
          dict-like object containing the loaded configuration