code: public static void writeParagraphVectors(ParagraphVectors vectors, File file) {
          try (FileOutputStream fos = new FileOutputStream(file);
               BufferedOutputStream stream = new BufferedOutputStream(fos)) {
              writeParagraphVectors(vectors, stream);
          } catch (Exception e) {
              throw new RuntimeException(e);
          }
      }
docs: This method saves ParagraphVectors model into compressed zip file
  
  @param file