import json


def load_json_file(file_name):
    """ Loads a json object from a file.

    :param str file_name: A file name to load JSON object from.
    :return: A loaded JSON object.
    """
    with open(file_name) as file_obj:
        return json.load(file_obj)