Basic implementation of storing file into gridfs

by browsing this url you can upload single file that will stored in grid fs 127.0.0.1:8000 /ndf/uploadDoc
the only one thing you need to install is python-magic that is for guessing filetype