delete files after stacking