import json


def read_config_file(fpath):
    """Create a dictionary of settings based on the json config file."""
    with open(fpath) as input_file:
        cfg = json.load(input_file)   
    return cfg