Refactor to process record-by-record
add import record info to imported records