add test and implementation for both legacy and bulk gridfs remove