Externalize config to file