For a download that stopped halfway, a file a portal refuses, or a PDF that one reader opens and another does not. The document is parsed and written out fresh with a clean structure. It cannot invent missing pages — if too much is gone, it says so.