implement trace file transmission