Trace file parsing