Remove tmp folder and log