public static void main(String[] arg) {
        String input = arg[0];
        String output = (arg.length > 1 ? arg[1] : null);

        InputStream in = null;
        try {
            in = new FileInputStream(input);
        } catch (Exception e) {
            System.out.println(e);
        }
        State foo = new State();

        JOrbisComment jorbiscomment = new JOrbisComment(foo);

        jorbiscomment.read(in);

        System.out.println(foo.vc);

        if (output == null) {
            return;
        }

        Properties props = System.getProperties();
        int i = 0;
        while (true) {
            try {
                String comment = (String) props.get("JOrbis.comment." + i);
                foo.vc.add(comment);
                i++;
            } catch (Exception e) {
                break;
            }
        }

        // foo.vc.add("TEST=TESTTEST");
        // foo.vc.add_tag("TITLE", "demodemo");
        System.out.println(foo.vc);

        //System.out.println(foo.vc.query("TEST"));
        //System.out.println(foo.vc.query("TITLE"));
        //System.out.println(foo.vc.query("ARTIST"));
        try (OutputStream out = new FileOutputStream(output)) {
            jorbiscomment.write(out);
        } catch (Exception e) {
            LOG.log(Level.FINE, e.getMessage());
        }
    }