remove the generated file at the of life of Lpa pdf object.
refactoring