Adjust cleanup of comments and emtpy lines on log file read