changed the pdf library from pyPdf to pdfminer, noit detetcs '\n' correctly. First implementation of process_pdfs