small fixes, started using gridfs in GridFSFile