private void Clustering(IClustering clusterAlgorithm)
        {
            DialogResult dialogResult = openClassMethodsFile.ShowDialog();

            if (dialogResult == DialogResult.OK)
            {
                string inputfile = openClassMethodsFile.FileName;

                Dictionary <string, List <string> > rawClasses = ClassParser.ReadClassEntities(inputfile);

                List <INode> clusters = initializeClusters(rawClasses);

                List <INode> clustered = clusterAlgorithm.Clusterize(clusters);

                ReloadTree(clustered[0]);
            }
        }