Generating of CSV