print $fh < $streamid $streamname $time_t END