def delete(self):
        if getattr(self, 'children', None):
            shutil.rmtree(self.abspath())
            delattr(self, 'children')
        else:
            os.unlink(self.abspath())
Delete the file/folder physically (but not the node)
dataset/ETHPy150Open cournape/Bento/bento/core/node.py/Node.delete