docs: private void createDirAndFile(Path path) throws IOException {
  			// create dir and file first if dir/file not exist
  			File file = new File(path.toAbsolutePath().toString());
  			File dir = file.getParentFile();
  			if (dir != null && !dir.exists()) {
  				dir.mkdirs();
  			}
  			if (!file.exists()) {
  				file.createNewFile();
  			}
  	}