reverted previous change to close file