Allow deleting of folders

fixes #46