Generate CSV file with parameters