parsing the log message file