public static List<String> getLines(String fileName) throws IOException {
        BufferedReader reader = null;

        try {
            List<String> lines = new java.util.ArrayList<>();

            reader = createReader(fileName,"utf8");
            String line;

            while (null != (line = reader.readLine()))
                lines.add(line);
            return lines;
        } finally {
            closeReader(reader);
        }
    }
Returns a list containing the lines in the given file as strings

@return a list of Strings for the lines of the file, in order
@throws IOException if the file could not be read
vespajlib/src/main/java/com/yahoo/io/IOUtils.java