in reply to Reading Multiple lines

It is closing the filehandle on the files of the records
that have not been processed.
Any ideas why this is so?