add PDFs and output TXT files