try {
Set<String> users = context.consumeIndex().getCalculatedUserList();
DownloadTaskDirect task = new DownloadTaskDirect(metaFile.getMetaChunks(), destination,
metaFile.getId(), session.getUserId(), ownPeerAddress, users);
session.getDownloadManager().submit(task);
task.join();
} catch (InterruptedException e) {
throw new ProcessExecutionException(e.getMessage());
}
}