Added log file header parsing