public static string Reconstruct(string prefix, string dir, bool display)
{
StringBuilder sb = new StringBuilder();
sb.AppendLine("Loading Shreds");
var shreds = Shred.Factory(prefix, dir, false);
sb.AppendLine("Comparing And Clusering");
var results = Reconstructor.NaiveKruskalAlgorithm(shreds);
sb.AppendLine("Exporting Results");
NaiveKruskalTests.ExportResult((Cluster)results.First().Root(), Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "output.png"),
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "json.js"));
return sb.ToString();
}