removing generated content, pdf, html, epub