close file when done with it