Template for Python program which strips information from PDFs