import json


def getConfig(configFileName='config.json'):
    """Reads config from file

    Parameters
    ----------
    configFileName: str
        name of the file to be readed

    Returns
    -------
    json: dict
        data structure defining parameters describing application and stored externally
    """
    with open(configFileName, 'r') as config:
        return json.load(config)