Expands config files with environment variables