printing ledger to string successfuly. now to read ledger from string