add cleanup option for pdf output files