Temp file management strategy