GridFS re-factor and MongoFile implementation