def load_config(filename):
    try:
        f = open(filename)
        return json.load(f)
    except Exception as e:
        raise Exception(('Could not load configuration file: %s' % e))
def load_config(filename):
    try:
        f = open(filename)
        return json.load(f)
    except Exception as e:
        raise Exception(('Could not load configuration file: %s' % e))