Removing unnecessary log files