import json


def load_vars(varfile):
    """
    Load a specified variables file.

    Args:
        varfile: string (file path) location of the deployer config file.

    Returns:
        data: dict. This becomes the 'config' dict that gets passed around.
    """
    with open(varfile) as data_file:
        data = json.load(data_file)
    return data