code: public void writeFile(File inputFile, String jarPath) throws IOException {
  
  		// Get an input stream on the file.
  		FileInputStream fis = new FileInputStream(inputFile);
  		try {
  			// create the zip entry
  			JarEntry entry = new JarEntry(jarPath);
  			entry.setTime(inputFile.lastModified());
  			writeEntry(fis, entry);
  
  		} finally {
  			// close the file stream used to read the file
  			fis.close();
  		}
  	}
docs: Writes a new {@link File} into the archive.
  
  @param inputFile the {@link File} to write.
  @param jarPath the filepath inside the archive.
  @throws IOException