little correction: program is closing file after all