<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse(self, json_data):
 """Parse a notebook .ipynb file. Parameters json_data : file A file handle for an .ipynb file. Returns ------- nb : An IPython Notebook data structure. """

        data = current.read(json_data, 'ipynb')
        json_data.close()
        return data