private XmlDocumentGroup GetNewXmlDocumentGroup(DocumentGroup documentGroupDb)
        {
            XmlDocumentGroup xmlDocumentGroup = new XmlDocumentGroup();
            xmlDocumentGroup.Crawler = Arguments.CrawlerName;
            xmlDocumentGroup.Date = documentGroupDb.DocumentGroupDate;
            xmlDocumentGroup.FileName = documentGroupDb.DocumentGroupName;
            xmlDocumentGroup.Format = "application/zip";
            xmlDocumentGroup.Identifier = documentGroupDb.Identifier;
            xmlDocumentGroup.Lang = Arguments.Language;
            xmlDocumentGroup.Operation = (Operation)documentGroupDb.Operation;

            foreach (var documentDb in documentGroupDb.Documents)
            {
                XmlDocumentMetaInfo xmlDocumentMetaInfo = new XmlDocumentMetaInfo();
                xmlDocumentMetaInfo.File = documentDb.DocumentName;
                xmlDocumentMetaInfo.Format = documentDb.DocumentFormat;
                xmlDocumentMetaInfo.Identifier = documentDb.Identifier;
                xmlDocumentMetaInfo.Md5 = documentDb.Md5;
                xmlDocumentMetaInfo.Operation = (Operation)documentDb.Operation;
                xmlDocumentMetaInfo.Url = documentDb.Url;

                xmlDocumentGroup.Document.Add(xmlDocumentMetaInfo);
            }

            return xmlDocumentGroup;
        }
        /// <summary>
        /// Create new Document
        /// </summary>
        /// <param name="fileMetaInfo"></param>
        /// <returns></returns>
        private Document ReturnNewDocument(XmlDocumentMetaInfo fileMetaInfo)
        {
            Document document = new Document();
            document.DocumentFormat = fileMetaInfo.Format;
            document.DocumentName = fileMetaInfo.File.ToLower();
            document.Identifier = fileMetaInfo.Identifier;
            document.Md5 = fileMetaInfo.Md5;
            document.Operation = (int)fileMetaInfo.Operation;
            document.Url = fileMetaInfo.Url;

            return document;
        }