liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVReader.java
public List<String[]> readAll() throws IOException {

        List<String[]> allElements = new ArrayList<>();
        while (hasNext) {
            String[] nextLineAsTokens = readNext();
            if (nextLineAsTokens != null) {
                allElements.add(nextLineAsTokens);
            }
        }
        return allElements;

    }
public List<String[]> readAll() throws IOException {

        List<String[]> allElements = new ArrayList<>();
        while (hasNext) {
            String[] nextLineAsTokens = readNext();
            if (nextLineAsTokens != null) {
                allElements.add(nextLineAsTokens);
            }
        }
        return allElements;

    }
Reads the entire file into a List with each element being a String[] of
tokens.

@return a List of String[], with each String[] representing a line of the
file.
@throws IOException if bad things happen during the read