Parsing ledger pulled out to separate file.