Add trace file loading mecanism