private static void BlobsDemo(MongoClient client)
        {
            var blobsService = new BlobService(client);

            // Upload blob
            blobsService.UploadBlob(@".\sampleFiles\blob1");
            blobsService.UploadBlob(@".\sampleFiles\blob2");

            // List all blobs
            foreach (var document in blobsService.BlobMetadata.Find(_ => true).ToListAsync().Result)
            {
                var fileName = document.GetElement("filename").Value.ToString();
                var size = int.Parse(document.GetElement("length").Value.ToString());

                System.Console.WriteLine("Blob: {0} - size: {1} KB", fileName, size / 1024);

                // Download blob
                blobsService.DownloadBlob(fileName);
            }
        }
        private static void BlobsAndMetadataDemo(MongoClient client)
        {
            // Services
            var blobsService = new BlobService(client);

            // ## Create data
            var doc1 = Item.GetSampleDocument("mongodb");
            var doc2 = Item.GetSampleDocument("csharp6");

            // Add blobs and set the document has meta-data
            blobsService.UploadBlob(@".\sampleFiles\blob1", doc1);
            blobsService.UploadBlob(@".\sampleFiles\blob2", doc2);

            // List all blobs
            foreach (var document in blobsService.BlobMetadata.Find(_ => true).ToListAsync().Result)
            {
                var fileName = document.GetElement("filename").Value.ToString();
                var size = int.Parse(document.GetElement("length").Value.ToString());

                System.Console.WriteLine("Blob: {0} - size: {1} KB", fileName, size / 1024);
            }
        }