Change output filetype from .csv to .txt