folder check and delete