docs: public static FileChannel createEmptyFile(final File file, final long length, final boolean fillWithZeros)
      {
          ensureDirectoryExists(file.getParentFile(), file.getParent());
  
          FileChannel templateFile = null;
          try
          {
              final RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw");
              randomAccessFile.setLength(length);
              templateFile = randomAccessFile.getChannel();
  
              if (fillWithZeros)
              {
                  fill(templateFile, 0, length, (byte)0);
              }
          }
          catch (final IOException ex)
          {
              LangUtil.rethrowUnchecked(ex);
          }
  
          return templateFile;
      }