/// <summary>
        /// Saves the command conversation.
        /// </summary>
        /// <param name="command">The command.</param>
        /// <param name="path">The path to save the file to.</param>
        public static void SaveCommandConversation(ICommand command, string path)
        {
            FileInfo fi = new FileInfo(path);

             XDocument xdoc = command.GetXDocument();
             StreamWriter writer = fi.CreateText();
             xdoc.Save(writer);
        }