Revert CSV import code accidentally merged