Make sure output file ends in .txt