delete tmp file in public