code: @SuppressWarnings("WeakerAccess")
      public static Widget createWidgetFromModel(final GVRContext gvrContext,
              final String modelFile, Class<? extends Widget> widgetClass)
              throws InstantiationException, IOException {
          GVRSceneObject rootNode = loadModel(gvrContext, modelFile);
          return createWidget(rootNode, widgetClass);
      }
docs: Create a {@link Widget} of the specified {@code widgetClass} to wrap the
  root {@link GVRSceneObject} of the scene graph loaded from a file.
  
  @param gvrContext
  The {@link GVRContext} to load the model into.
  @param modelFile
  The asset file to load the model from.
  @param widgetClass
  The {@linkplain Class} of the {@code Widget} to wrap the root
  {@code GVRSceneObject} with.
  @return A new {@code AbsoluteLayout} instance.
  @throws InstantiationException
  If the {@code Widget} can't be instantiated for any reason.
  @throws IOException
  If the model file can't be read.