Checks PDF files in a directory for a specific string.