recursive delete, needs cleanup
working recursive delete and folder metadata
branch ref
basename on tree folder metadata