new the temp file instead of redirect