import json


def get_config(config_file):
    """ Reads Config file

    This functions reads the config file and returns the information
    :param config_file: name of the config file as string
    :return: object with config information
    """
    with open(config_file, 'r') as myfile:
        data = myfile.read()
    return json.loads(data)