import json


def LoadNotebook(filename):
    """Load an ipynb notebook.

    Args:
        filename: the name of the .ipynb file.

    Returns
        loaded notbook as a JSON object.
    """
    with open(filename) as f:
        return json.load(f)