add TraceWriter.cs