import json


def read_file(path, key):
    """
    Read a json file and return the part of the body linked to a key
    """
    with open(path) as f:
        body = json.loads(f.read())[key]
    return body