dynamic folder deletion