read trace file directly