public void close() throws IOException {
   if (reader != null) reader.close();
 }