protected static List<String> readFile(Path file) {
        assert FileUtil.control(file);
        List<String> sb = new LinkedList<>();
        String line = null;
        Charset charset = Charset.defaultCharset();

        try (BufferedReader reader = Files.newBufferedReader(file, charset)) {
            while ((line = reader.readLine()) != null) {
                sb.add(line);
            }
            reader.close();

        } catch (IOException e) {
            return null;
        }

        return sb;
    }