private static StaffArrangement parseFiles(String str, File inputFile)
            throws ParseException, IOException {
        if (str.isEmpty() || str == null) {
            throw new ParseException("Invalid Arr File.", 0);
        }
        StaffArrangement theArr = new StaffArrangement();

        for (String s : str.split("\n")) {
            s = s.replace("/", "_");
            String st = inputFile.getParent() + "\\" + s + "]MarioPaint.txt";
            File f = new File(st);
            StaffSequence seq = decode(f);
            theArr.add(seq, f);
            theArr.getTheSequenceNames().add(s);
        }
        return theArr;
    }