forgot closing file after finishing