tempfile is deleted