add support for parsing ~/.ledgerrc or using LEDGER_FILE
add (c), license statements