More work on gridfs