Code written to run on compute cluster -- generates 10,000 CSV files.