deleting contents of the folder before creating new pdfs