delete and renaming folder