Instead of .find, .startswith() since the relative path might have the word http. E.g., /tmp/http_requests.log

Also, search for 'http://'