Close input file after testing.