use bulk operations for GridFS