Use config file for mongo db