modifies files for customer_account_balance. Adds more checks.