public static PageTemplates create(ApplicationPackage applicationPackage) {
        List<NamedReader> pageTemplateFiles=null;
        try {
            pageTemplateFiles=applicationPackage.getPageTemplateFiles();
            return new PageTemplates(pageTemplateFiles);
        }
        finally {
            NamedReader.closeAll(pageTemplateFiles);
        }
    }
Creates from an application package. The passed readers will be closed.
config-model/src/main/java/com/yahoo/vespa/model/container/search/PageTemplates.java