removed unnessesary if statement to evaluate if the log file exists - ( thanks Jason)