A simple log file parser written in Python