added routing support for gridfs