adds the correct mongodb config file