@Override public File call() throws Exception { File download = download(path); if (download != null) { File tmpFile = io.fabric8.utils.Files.createTempFile(runtimeProperties.getDataPath()); Files.copy(download, tmpFile); return tmpFile; } else { return null; } }