Fixed output text file.