After filtering down the files in your folder or folders, your next step is to filter the files themselves by only extracting the requests that you care about.
This eliminates the need to combine the files using command-line utilities like GREP or FINDSTR, and saves you time searching for the right command.
In this case, since you only want Googlebot requests, you will search for “Googlebot” to to match all of the relevant user agents.
You can use Python’s open function to read and/or write your file and Python’s regex module, RE, to perform the search.