Add per file thread tracer