import yaml


def read_yaml_to_dict(yaml_file):
    """
    This method loads data from a yaml file and returns the data structure
    Parameters:
    yaml_file -- This is the file to load
    """
    with open(yaml_file, 'r') as file_handle:
        return yaml.load(file_handle, Loader=yaml.FullLoader)