temp file is removed