code: public static File[] toFiles(final URL[] urls) throws UncheckedIOException {
          if (N.isNullOrEmpty(urls)) {
              return new File[0];
          }
  
          final File[] files = new File[urls.length];
  
          for (int i = 0; i < urls.length; i++) {
              files[i] = toFile(urls[i]);
          }
  
          return files;
      }
docs: Converts each of an array of <code>URL</code> to a <code>File</code>.
  <p>
  Returns an array of the same size as the input.
  If the input is {@code null}, an empty array is returned.
  If the input contains {@code null}, the output array contains {@code null} at the same
  index.
  <p>
  This method will decode the URL.
  Syntax such as <code>file:///my%20docs/file.txt</code> will be
  correctly decoded to <code>/my docs/file.txt</code>.
  
  @param urls  the file URLs to convert, {@code null} returns empty array
  @return a non-{@code null} array of Files matching the input, with a {@code null} item
  if there was a {@code null} at that index in the input array
  @throws IllegalArgumentException if any file is not a URL file
  @throws IllegalArgumentException if any file is incorrectly encoded
  @since 1.1