Trilitech interview question

write a code in any language to parse the log file