added delete folder functionality