how to remove ^m from a text file and replace it with the next line,"somestring.replace('\\r', '')"