TreeMapper treeMapper = page.getTreeMapper();
treeMapper.startWait();
boolean atLeastOneFileOpened = false;
try {
if (sourceFile != null) {
treeMapper.openSourceDataFile(sourceFile);
atLeastOneFileOpened = true;
}
if (linkFile != null && targetFile != null) {
treeMapper.openTargetDataFile(targetFile, linkFile);
atLeastOneFileOpened = true;