Delete cache and log files