File upload mongo db configuration fixed