forgot to close files