Added line limit support in reader

I was having trouble with the library.
I discovered that my file lines are longer than 1000 characters so here my commits