add command file and rm pdf file