public static StaffArrangement decodeArrangement(File f)
            throws ParseException, IOException {
        BufferedReader bf = new BufferedReader(new FileReader(f));
        String line = "";
        String str = "";
        while (true) {
            line = bf.readLine();
            if (line == null)
                break;
            str += line;
            str += "\n";
        }
        bf.close();
        return parseFiles(str, f);
    }