rm intermediate files