added write.table. CSV files are not allowed to submit so simple write.table is needed.