ENH:add implement of delete temp file