if (file != null && file.exists()) {
logger.info("About to try to upload.");
ZapPropertiesManager manager = ZapPropertiesManager.INSTANCE;
RestResponse<Object> response = new PluginClient(manager)
.uploadScan(manager.getAppId(), file);
int responseCode = response.responseCode;
if (responseCode == 0) {
view.showWarningDialog("The response code was 0, indicating that the ThreadFix server " +