Ataki/gridfs

@stvstnfrd to review commit
The code here seems self-evident enough to remove this comment.