docs: public static File writeToTempFile(List<byte[]> bytesList, String prefix, String suffix) throws IOException {
          File tmpOutputFile = null;
  
          try (RandomAccessFile outputRaf = new RandomAccessFile(tmpOutputFile, "rw")) {
              // Create temporary file
              tmpOutputFile = File.createTempFile(prefix, "." + suffix);
              FileChannel outputChannel = outputRaf.getChannel();
  
              for (byte[] bytes : bytesList) {
                  ByteArrayInputStream is = null;
                  try {
                      is = new ByteArrayInputStream(bytes);
                      ReadableByteChannel inputChannel = Channels.newChannel(is);
                      fastChannelCopy(inputChannel, outputChannel);
                  } catch (Exception e) {
                      String info = "Failed to write to temporary file: " + e.getMessage();
                      throw new IOException(info, e);
                  } finally {
                      if (null != is) is.close();
                  }
              }
          } catch (IOException ioe) {
              String info = "Failed to write to temporary file: " + ioe.getMessage();
              throw new IOException(info, ioe);
          }
          return tmpOutputFile;
      }