import yaml


def load_yaml_file(file_path):
    """Load a yaml file

    Args:
        file_path: path of the yaml file to load

    Returns:
        Object representing the YAML file
    """
    with open(file_path, "r") as fp:
        loaded_yaml = yaml.safe_load(fp)
    return loaded_yaml or {}