I am trying to get a specific IP address and the line that IP address is in from logs, and I am able to go file by file using the following code:
def check(fi