title: Search for particular text in txt file and print next line
body: <p>I am trying to read a text file that contains BEGIN frequently but only once in a line. I have been able to search for it however unable to print the line next to it
  if someone could guide me or help me on how to go about this. Below is the code 
  Code that i have figured out so far
  <a href="https://i.stack.imgur.com/SLS2s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SLS2s.png" alt="enter image description here"></a></p>
  
  <p>the type of file i have
  <a href="https://i.stack.imgur.com/tnr0N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tnr0N.png" alt="enter image description here"></a> </p>