void addRankProfileFile(String schemaName, String fileName) throws ParseException {
        try {
            var reader = IOUtils.createReader(fileName, "UTF-8");
            addRankProfileFile(schemaName, new NamedReader(fileName, reader));
        } catch (java.io.IOException e) {
            throw new IllegalArgumentException("Could not read file '" + fileName + "'", e);
        }
    }
Parses a rank profile from the given reader and add to the schema identified by name.
note: the named schema must have been parsed already.
config-model/src/main/java/com/yahoo/schema/parser/IntermediateCollection.java