PDF and Docx file not getting downloaded.