def METHOD_NAME(config):
    LOG.info(f"Loading config file - {config}")
    with open(config, "r") as _stream:
        try:
            return yaml.safe_load(_stream)
        except yaml.YAMLError:
            raise ConfigError(f"Invalid configuration file '{config}'")