changed line separator code to unix like one.