import json


def json2dict(file_name):
    """
    Return dict where json file in output_folder with a file_name is loaded

    :param file_name: full path and file name origin  (path/some_name.json)
    :return: dictionary object
    """

    with open(file_name) as json_file:
        dict_obj = json.load(json_file)

    return dict_obj