Added a TraceListener to log all trace messages to a file