Intermediate files cleanup stage 1