I would intend for the file to have more observations than this; each row may have hundreds to thousands of numbers. For the first row, I would calculate y = a+bx for the first row of numbers, then calculate it again for the second, etc, and the output would show the linear regression equation for each row.
Can somebody also tell me how one would calculate a row in isolation? e.g. if I had this text file but only wanted to do calculations on the fifth row down for example, how would I do this?