output temp file