Checks on system environment variable for LEDGER and LEDGER_FILE.