public static void createComponentsConfig(String chainsFile, String handlersFile, String componentsFile) throws IOException {
        createComponentsConfig(handlersFile, componentsFile, "handler", false);
        createComponentsConfig(chainsFile, componentsFile, "components", true);
    }
Copies the ids from the 'search' array in chains to a 'components' array in a new components file.
Also adds the default SearchHandler.
container-search/src/test/java/com/yahoo/search/searchchain/config/test/SearchChainConfigurerTestCase.java