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