}
private void createGumTreeTree(File file) throws FileAccessException {
// IDataset dataset = Factory.openDataset(file.toURI());
IDataset dataset = new NxsDataSet(file);
try {
dataset.open();
}
catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
// Get the file root
IGroup rootGroup = dataset.getRootGroup();
GumTreeNode nodeRoot = (GumTreeNode) treeModel.getRoot();
addGroupNode(nodeRoot, rootGroup);
dataset.setTitle(file.getName());
treeModel.reload();
}