The input file to the compiler must be plain text.It is because of saving the input file as an RTF file.