note
lhoward
Try adding some error checking to your code:
<code>
$filename = $timestamp.".txt";
print $filename;
sleep 5;
open (TEMPFILE, ">$filename") or die "error, can't create $filename : $!";
</code>
This should tell you while the file create failed.
91377
91377