File is closed (53)

You tried to use a stream function or instruction on an already closed file.