Split the files into nodes, bst and test. Next/prior now accept numbers as arguments