code: public static <T extends Normalizer> T restoreNormalizerFromFile(File file) {
          try (ZipFile zipFile = new ZipFile(file)) {
              ZipEntry norm = zipFile.getEntry(NORMALIZER_BIN);
  
              // checking for file existence
              if (norm == null)
                  return null;
  
              return NormalizerSerializer.getDefault().restore(zipFile.getInputStream(norm));
          } catch (Exception e) {
              log.warn("Error while restoring normalizer, trying to restore assuming deprecated format...");
              DataNormalization restoredDeprecated = restoreNormalizerFromFileDeprecated(file);
  
              log.warn("Recovered using deprecated method. Will now re-save the normalizer to fix this issue.");
              addNormalizerToModel(file, restoredDeprecated);
  
              return (T) restoredDeprecated;
          }
      }
docs: This method restores normalizer from a given persisted model file
  
  PLEASE NOTE: File should be model file saved earlier with ModelSerializer with addNormalizerToModel being called
  
  @param file
  @return