public static Schema buildFromFile(String fileName,
                                       RankProfileRegistry rankProfileRegistry,
                                       QueryProfileRegistry queryProfileRegistry)
            throws IOException, ParseException {
        return buildFromFile(fileName, new BaseDeployLogger(), rankProfileRegistry, queryProfileRegistry);
    }
Convenience factory method to import and build a {@link Schema} object from a file.

@param fileName the file to build from
@param rankProfileRegistry registry for rank profiles
@return the built {@link Schema} object
@throws IOException    thrown if there was a problem reading the file
@throws ParseException thrown if there was a problem parsing the file content
config-model/src/main/java/com/yahoo/schema/ApplicationBuilder.java