code: public void method2() {
          Engine engine = null;
          String configurationFile = "/ObstacleAvoidance.fll";
          URL url = SimpleDimmer.class.getResource(configurationFile);
          try {
              engine = new FllImporter().fromFile(new File(url.toURI()));
          } catch (Exception ex) {
              FuzzyLite.logger().log(Level.SEVERE, ex.toString(), ex);
          }
  
          FuzzyLite.logger().info(new FldExporter().toString(engine));
      }
docs: Method 2: Load from a file