initial trace file reading