class QueryResultsReader {

    public static Dataset read(File file) throws IOException {
        final InputStream in = new FileInputStream(file);
        final Dataset dataset = read(in);
        in.close();
        return dataset;
    }

}