The pdftotext command now pipes through stdout: no need to output to a file and read the file.