Update txtmining_pdf.R

Modified for local files.