not readlines
the previous k, not the first k
a line ends with \n
no readlines