PageFileFactory pageFactory = new PageFileFactory();
pageFactory.setFile(tmpFile);
pageFactory.open();
PageFile page = pageFactory.getPageFile();
BTreeIndexFactory<String, String> indexFactory = new BTreeIndexFactory<String, String>();
indexFactory.setComparator(new Comparator<String>() {
public int compare(String o1, String o2) {
return o1.compareTo(o2) * -1;