import yaml


def load_config(config_filepath):
    """Loads config file into memory
    
    Args:
        config_filepath (Path): path to config file
    
    Returns:
        config (dict): actual config dict
    
    """
    with open(config_filepath, 'r') as f:
        config = yaml.safe_load(f)
    return config