import yaml


def read_yaml_conf(filename):
    """
    Read configuration file from local filesystem. The configuration file should be
    in valid YAML format.

    :param filename: The YAML file which has the configuration options.
    :returns: Configuration loaded from YAML configuration file.
    :raises: None
    """
    with open(filename, 'r') as conf_file:
        return yaml.load(conf_file, Loader=yaml.FullLoader)
    return None