Groovy script for csv data generation