private static Set<String> load(String file) throws Exception {
    Set<String> answer = new HashSet<>();
    BufferedReader reader = new BufferedReader(new FileReader(file));
    String line;
    do {
      line = reader.readLine();
      if (line == null) break;
      if (line.isEmpty()) continue;

      answer.add(line);
    }
    while (true);

    return answer;
  }
private static Set<String> load(String file)