Added functionality to upload PDF files to gather data from