Adding a method to delete a folder.