}
public GridFsStorage openStorage(String name) {
DBCollection<GridFsFile> storageCollection = openStorageCollection(name + ".files", GridFsFile.class);
storageCollection.collectionAdmin().ensureIndex(new IndexOptionsBuilder().field("files_id").field("n"));
GridFsStorage storage = new GridFsStorage(storageCollection, openStorageCollection(name + ".chunks", GridFsChunk.class));
return storage;
}