Support for binary fields using gridfs

Suport for binary fields using gridfs.