change newlines in return file