We have to delete the output file after reading it. Right now if we remove the file the output throws an exception.[link](https://github.com/hamidre13/IPython-Kepler-Magic-Function/blob/master/KeplerMagicFunction.py#L33-L34)