public void add(T item) throws IOException {
   data.add(item);
   onModified();
 }