import json


def read_config(file_name):
    """
    Read the JSON contents of a config file by its file name.

    :param file_name: Name of the config file.
    :return: A dictionary representation of the JSON config file.
    """
    return json.loads(open(file_name).read())