private void modifyPath(final Supplier<File> getter,
                            final Consumer<File> setter) {
        Objects.requireNonNull(getter);
        Objects.requireNonNull(setter);

        // Need to support relative paths in the same way that we do for our own config
        final File file = getter.get();
        if (file != null) {
            final Path newPath = pathCreator.toAppPath(file.getPath());
            if (!Files.exists(newPath)) {
                throw new RuntimeException(LogUtil.message(
                        "File '{}' in jersey client configuration '{}' does not exist", newPath));
            }
            final File newFile = newPath.toFile();
            LOGGER.debug("Changing {} to {}", file, newFile);
            setter.accept(newFile);
        }
    }
@return The prefix for the user agent name
stroom-dropwizard-common/src/main/java/stroom/dropwizard/common/AbstractJerseyClientFactory.java