Profiler can write to file in xml