open (TEMP, '>', $temp) or die Lava::Message("Can't open temporary file");