Use proper temp file