static boolean fileReferenceExists(FileReference fileReference, File downloadDirectory) {
        return getFileFromFileSystem(fileReference, downloadDirectory).isPresent();
    }
Returns a future that times out if download takes too long, and return empty on unsuccessful download.
filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java