Reckon: https://github.com/cantino/reckon uses machine learning to understand CSVs exported by banks. This plus ledger may replace much old code!