/// <summary>
        /// Parses an IM log file and sends the information to GDS
        /// </summary>
        /// <param name="logFile">The IM conversations log file</param>
        /// <param name="lastIndexed">messages older than this will not be sent to GDS</param>
        private void ParseAndSendMessages(string logFile, DateTime lastIndexed)
        {
            XmlDocument doc = new XmlDocument();
              doc.Load(logFile);
              XmlNodeReader reader = new XmlNodeReader(doc);

              // reset user and buddy name
              userName = null;
              buddyName = null;

              // Moves the reader to the root element.
              reader.MoveToContent();

              // move to the first message
              reader.Read();

              while(reader.LocalName == "Message")
              {
            // check the date of the message - if older skip
            reader.MoveToAttribute("DateTime");
            DateTime messageDateTime = DateTime.Parse(reader.Value);
            reader.MoveToElement();

            // if older than the last indexing time, skip the message
            if (messageDateTime.CompareTo(lastIndexed) <= 0)
            {
              reader.Skip();
              continue;
            }

            // get message data
            MSNMessageData messageData = ParseMessageData(reader.ReadOuterXml());

            // send this message to GDS for indexing
            SendMessageData(messageData);
              }
        }