completed deleteFolder menthod