def from_json_file(file: TextIO, check_version=True) -> BELGraph:
    """Build a graph from the Node-Link JSON contained in the given file."""
    graph_json_dict = json.load(file)
    return from_json(graph_json_dict, check_version=check_version)