in reply to Filehandle problem

Are you sure you are not trying to read the new file before the file handle has been closed? (and autoflush $| has not been set for $new)