code: public static List<String[]> getCsvDataArray(Reader csvReader, boolean headerPresent)
        throws IOException {
      final List<String[]> result = Lists.newArrayList();
      new CsvReader(new CSVReader(csvReader), headerPresent)
          .processReader((headers, line, lineNumber) -> result.add(line));
      return result;
    }
docs: Returns a {@code List<String[]>} that contains all rows of the CSV file.
  The header will be removed, if present.
  
  @param csvReader reader used to read the csv
  @param headerPresent {@code true} if the first line is the header
  @return a {@code List<String[]>} that contains all rows of the CSV file
  @throws IOException if there was an exception reading the file