in reply to temporary file

Depending on the size of your data you could always keep the new data in an array and then just print that. Obviously if you're talking about huge amounts of data an array would not be a good idea.

-- vek --