Gotchas when reading and writing PDF to files
Reading and writing PDF documents to and from the same disk file can have unexpected consequences. This article covers what to watch out for if you do this, and details a few ways to get around the problems it can cause, including the new features added in 2.11.2 for this problem.