Added deletetion of log files