import json


def _read_json(file_name):
    """
    Reads data from json file
    :param file_name: file path to write to
    :return: dictionary with data from json file
    """
    try:
        with open(file_name) as json_file:
            data = json.load(json_file)
            return data
    except FileNotFoundError:
        return None