public Builder load(Path config) {
            try {
                String content = IoUtils.readUtf8File(config);
                Path basePath = config.getParent();
                if (basePath == null) {
                    basePath = SmithyBuildUtils.getCurrentWorkingDirectory();
                }
                Node loadedAndExpanded = SmithyBuildUtils.loadAndExpandJson(config.toString(), content);
                return loadNode(basePath, loadedAndExpanded);
            } catch (ModelSyntaxException e) {
                throw new SmithyBuildException(e);
            }
        }
Loads and merges the config file into the builder.

@param config Config file to load, parse, and merge.
@return Returns the updated builder.
smithy-build/src/main/java/software/amazon/smithy/build/model/SmithyBuildConfig.java