import json


def get_parameters(parameter_file):
    """ Load content from parameter file into a dict
    Args:
        parameter_file: The parameter file.
    Returns:
         A dict containing the parameters.
    """
    with open(parameter_file) as pf:
        params = json.load(pf)
    return params