Trying to replace line breaks line by line - close the reader before deleting the file