clean up imports; delete files after being sent over the wire; in double pdf case, delete the one page pdf export