public String[][] getAllValues() throws IOException {
        ArrayList<String[]> v = new ArrayList<String[]>();
        String[] line;
        while((line = getLine()) != null){
            v.add(line);
        }
        if (v.size() == 0){
            return null;
        }
        String[][] result = new String[v.size()][];
        return v.toArray(result);
    }