import json


def read_info(info_fp):
    """Read and return content of data_info.json
    Args:
        info_fp (str): path to json file to check
    Returns:
        dict: contents of data_info.json
    """
    try:
        with open(info_fp, "r") as json_file:
            result = json.load(json_file)
            # pprint(result)
    except FileNotFoundError:
        print("Error finding ", info_fp)
        return None
    return result