Hi Vipul Sharma,
First of all, I am assuming that you probably you opened the file in an editor which doesn't recognize '\n' as a newline character.
I would suggest you use editors like:
- Notepad ++
- Notepad
- Vim
- EditPlus
These editors recognize '\n' as a newline character.
Secondly, You should not directly open the file with Excel, which may not be able to detect that it is a CSV file.
Try opening the file from Excel by
File -> Import -> CSV File