Generate the correct data for the output file type!