tree to blob