Added GridFS supported

Added functions for GridFS