I am trying to search for a string in a file and print two lines above and two lines below the matching string in a file. Avoid printing duplicate strings. For example let\'