docs: public static File getResourceAsFile(String name)
    {
      URL resourceURL = getResource(name);
      if(resourceURL == null) {
        throw new NoSuchBeingException("Resource |%s| not found.", name);
      }
      String protocol = resourceURL.getProtocol();
      if("file".equals(protocol)) try {
        return new File(resourceURL.toURI());
      }
      catch(URISyntaxException e) {
        throw new BugError("Invalid syntax on URL returned by getResource.");
      }
      throw new UnsupportedOperationException("Can't get a file for a resource using protocol" + protocol);
    }