I want to read the previous lines in a file from specific file. For example, this is my file content.
Line 1
Line 2
Line 3
Line 4
Line 5
I found a line "line 4
" using some code. Now from line 4
, I want to read the all previous lines in the order of
Line 3
Line 2
Line 1
How to achieve this???