storing dendrogram in tmp/id/dendrogram folder