public SerializerAvro(String fileName) throws IOException {
   this.dictionary = new Dictionary<URI>(URI.class, fileName);
   this.factory = Data.getValueFactory();
   this.datatypeFactory = Data.getDatatypeFactory();
 }
 public SerializerAvro(@Nullable final Dictionary<URI> dictionary) {
   this.dictionary = dictionary;
   this.factory = Data.getValueFactory();
   this.datatypeFactory = Data.getDatatypeFactory();
 }