Create merkle trees from directories.