implemented text-newline format

changed README.md
updated console arguments
updated .gitignore
fixed a bug with \r\n