remove redundant method PDFKIT.to_file()
add some docstrings