I want to know what happens under the hood. In order to distinguish nth line from the (n-1)th, you need to read the contents of the file from disk, and dec