add env file
changed error handler on gridfs readstream