Script to generate data files for the ledger.