delete intermediate files