specifications were targeted to sanitize and generate pdf file