When using the PSM File Transfer feature to send a Window text files to Unix each line ends in ^M ?
DOS/Windows vs Linux/Unix use different file formats in regards to carriage returns and line feeds. When transferring the files through file transfer, the files are transferred in binary format, TPAM does no conversion.
Prior to transferring through TPAM convert/save the text file into unix format (NotePad++ for example can save in Unix LF format). Alternatively, after the transfer convert into unix format using a tool such as dos2unix.