public List<String> loadExclusionWords(File path) throws FileNotFoundException, IOException {
        List<String> list = new ArrayList<>();
        BufferedReader br = new BufferedReader(new FileReader(path));
        while (br.ready()) {
            String line = br.readLine();
            if (line.trim().length() > 0 && !list.contains(line.trim()))
                list.add(line.trim());
        }
        Logger.getGlobal().log(Level.FINEST, "Loaded exclusion {0} words.", list.size());
        return list;
    }