code: @Deprecated
      public static <T> T load(File file, Class<T> configClass) throws Exception {
          Preconditions.checkNotNull(file, "file");
          Preconditions.checkNotNull(configClass, "clazz");
          return new ConfigurationLoader(file.getParentFile()).load(configClass, file.getName());
      }
docs: Instantiate a new configuration object using a constructor and call method {@link #load(Class)}.