add clean-folder function