add tmp before delete
delete temp files