code: static void createFileFromResource(String resource, Resource file, String password) throws IOException {
  	SystemOut.printDate(SystemUtil.getPrintWriter(SystemUtil.OUT), "write file:" + file);
  	file.delete();
  
  	InputStream is = InfoImpl.class.getResourceAsStream(resource);
  	if (is == null) throw new IOException("file [" + resource + "] does not exist.");
  	file.createNewFile();
  	IOUtil.copy(is, file, true);
      }
docs: creates a File and his content froma a resurce
  
  @param resource
  @param file
  @param password
  @throws IOException