Fixed a bug that caused the value of the parameters to get switched
between the parameters. 
Added support for reading only the required line numbers.