close an open file

Python has a limit on open file handlers
see
http://stackoverflow.com/questions/6774724/why-python-has-limit-for-coun
t-of-file-handles