gross but working first run at the log file parser