Update example.py

Crawl for pdf files