remove intermediate files