Close input file when done (....duh). - ajs