Break up longish import tasks function; make it easier to parameterise CSV reader for other sorts of lists