private static ApplicationBuilder createFromFile(String fileName,
                                                     DeployLogger deployLogger,
                                                     RankProfileRegistry rankProfileRegistry,
                                                     QueryProfileRegistry queryprofileRegistry)
            throws IOException, ParseException {
        return createFromFiles(List.of(fileName), new MockFileRegistry(), deployLogger, new TestProperties(),
                               rankProfileRegistry, queryprofileRegistry);
    }
Convenience factory method to import and build a {@link Schema} object from a file.

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