def METHOD_NAME(filename, **kwargs):
    template = Template((Path(__file__).parent / 'notebook' / filename).read_text())
    filled = template.substitute(kwargs)
    return json.loads(filled)['cells']