Modified directory structure for handling pdfs