mode changes; re-order functions in LedgerFile
move file testing helper stuff to filetester.py, update test_ledgerbil and test_ledgerfile to use