@Override
        public void actionPerformed(ActionEvent ae) {
            if (tree == null) {
                return;
            }
            Directory root = new Directory(tree.getRootFile());

            //Validates
            String delim = validateDelimiter(delimiter.getText());
            if (delim == null) {
                return;
            }
            FileManipulator manip = new FileManipulator(root, delim);

            if (ae.getActionCommand().equals("Enumerate")) {
                manip.enumerate();
            } else if (ae.getActionCommand().equals("Denumerate")) {
                manip.denumerate();
            } else if (ae.getActionCommand().equals("Implode")) {
                manip.implode();
            } else if (ae.getActionCommand().equals("Explode")) {
                manip.explode();
            } else if (ae.getActionCommand().equals("Enumerate Tag")) {
                manip.enumerateTag();
            } else if (ae.getActionCommand().equals("Explode Tag")) {
                manip.explodeTag();
            }

            tree.refresh();
        }