public static Tree readFileContentForTree(String filename)
    {   
        Tree input = new Tree();
        try
        {     
            FileReader fr = new FileReader(filename);
            BufferedReader buffreader = new BufferedReader(fr);
            String line;
            while ((line=buffreader.readLine()) != null)
            {
                String[] current = line.split(",");
                TreeNode currentParent = input.findTreeNode(current[0],input.getRoot());
                if (currentParent==null)
                {
                	System.out.println("sorry couldn't find parent of line: " + line);
                }
                else
                {
                	currentParent.addChild(current[1]);
                }               
            }
            buffreader.close();
        }
        catch (IOException e)
        {
            System.out.println("Fehler beim lesen der Datei!");
            System.exit(1);
        }
        System.out.println("Einlesen Abgeschlossen!");
        return input;
    }