Script python that retrieve text from mongoDB database