from ujson import load


def read_json(file_name: str) -> dict:
    """
    read a json file

    :param file_name: the name of the json file
    :return: the content of the json file
    """

    with open(file_name) as json_file:  # open the file
        json_dict = load(json_file)  # load the content
        json_file.close()  # close the file
    return json_dict