import yaml


def _load_yaml_file(yaml_file_path: str):
    """
    Loads the specified yaml file into a python dict.

    :param yaml_file_path: Path to the yaml file
    :return: The yaml file as a python dict.
    """
    with open(yaml_file_path, 'r') as yaml_file:
        # Convert the yaml file to a python dict
        return yaml.load(yaml_file, Loader=yaml.SafeLoader)