Condensing code in CSV import job.