read generated graphs, output dot compatible files