delete cache and log files