removing log file before procoessing