Trying to replace line breaks line by line - copy the file over the original file