Now iterates over a CSV
Making more resilient to failures