void readFromAlg() throws FileNotFoundException {
        Scanner in = new Scanner(file);
        String line, section = "";
        while (in.hasNext()) {
            line = in.nextLine();
            if (line.startsWith("    ")) {
                parseEntry(line, section);
            } else {
                line = line.trim();
                if (line.length() > 0) {
                    section = parseSection(line);
                }
            }
        }
    }