import json


def read_input(path):
    """Utility function that reads a file and returns its json content.
    Args:
        path (string): the path of the file.
    Returns:
        The content of the file, parsed as json.
    """
    with open(path) as f:
        data = json.load(f)
        return data
    return []