Fixed bug:  I forgot to close the file when done.