private Path nestedResource(com.yahoo.path.Path nestedPath, String name, String fileType) {
            String nameWithoutSuffix = StringUtilities.stripSuffix(name, fileType);
            return path.resolve(nestedPath.getRelative()).resolve(nameWithoutSuffix + fileType);
        }
@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