import yaml


def read_yaml(file_path):
    """ Safely load the yaml configuration
        :param file_path: The path to the yaml config file
        :return: A dict of config entries
    """
    with open(file_path, "r") as f:
        return yaml.safe_load(f)