Added the "live" temp file write