Web Report CVS Formatting

So I have a session relevance the provides me the information I need but when it is exported to a .csv file it also adds in
to the file. Below is not session relevance code and was wondering how I can format it using a Document Type descriptor or HTML so the format in the csv file is correct.

Current format -

BFCB02 11

BFCB01 11

Wanted Format:

BFCB02 11
BFCB01 11

Also is their a way to export this to a .txt file instead of a .csv, that is just a side question.