Revert "closed auto delete files"

This reverts commit 9922233a91ebdfcb1664919bf4faf6be3effcde1.