Removing cache and log files