code: public Configuration getConfiguration() throws Exception {
          Configuration result = null;
          if (cfg.exists()) {
  
              userDir = new File(System.getProperty("user.dir")).getAbsolutePath();
              System.setProperty("user.dir", options.getExecutionDirectory().getAbsolutePath());
              try {
                  ConfigurationManager manager = new ConfigurationManager(cfg, false);
                  manager.executeConfigurationProviders();
                  result = manager.getConfiguration();
              } finally {
                  System.setProperty("user.dir", userDir);
              }
          }
          return result;
      }
docs: Returns the equivalent configuration representation of the Walkmod config file.
  
  @return Configuration object representation of the config file.
  @throws Exception
  If the walkmod configuration file can't be read.