public Builder queryProfileType(String name, String queryProfileType) throws IOException {
            Path path = nestedResource(ApplicationPackage.QUERY_PROFILE_TYPES_DIR, name, ".xml");
            createFile(path, queryProfileType);
            return this;
        }
@param name             name of query profile type
@param queryProfileType add this query profile type to the application
@return builder
@throws java.io.IOException e.g.if file not found
application/src/main/java/com/yahoo/application/Application.java