minor closing file