How to get the line2's value from a textfile on sd card?

I have text file called setup.txt on SD card which is connected to Arduino. The setup text file consist of 4 lines. These lines contains of numbers between 1 and 20. How do I get that variable A gets the value of line 2 and then this value is shown in Serial Monitor Window?