total overhaul
delete temp file