public static void ToDotFile <T>(this IObjectTree <T> tree, string path) { tree.ToDotFile(new FileInfoWrapper(new FileInfo(path))); }