@Asynchronous
private void upload(final String targetBucketName, final String targetFilename, final String localTargetFilename,
Promise<String> taskList, Promise<Void> fileProcessed) {
state = "Processed at " + taskList.get();
ActivitySchedulingOptions options = new ActivitySchedulingOptions().withTaskList(taskList.get());
store.upload(targetBucketName, localTargetFilename, targetFilename, options);
}