remove temp and log files