remove each folder after calculation is done