public static void allocateFileRegion(@NotNull FileChannel channel,
                                        long upUntilSize) throws IOException {
    long channelSize = channel.size();
    if (channelSize < upUntilSize) {
      fillFileRegionWithZeros(channel, channelSize, upUntilSize);
    }
  }
public static void allocateFileRegion(@NotNull FileChannel channel,
                                        long upUntilSize)