Use temporary file