How to load .obj model? Have noob question

package jmemodels;


import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.URL;
import java.util.logging.Level;
import java.util.logging.Logger;

import java.io.*;
 
import com.jme.app.SimpleGame;
import com.jme.bounding.BoundingSphere;
import com.jme.scene.Node;
import com.jme.util.export.binary.BinaryImporter;
import com.jmex.model.converters.FormatConverter;
import com.jmex.model.converters.ObjToJme;
import org.lwjgl.*;
 
/**
 * Started Date: Jul 22, 2004<br>
 * <br>
 *
 * Demonstrates loading formats.
 *
 * @author Jack Lindamood
 */
public class Main extends SimpleGame {
   private static final Logger logger = Logger
      .getLogger(Main.class.getName());
 
   public static void main(String[] args) {
      Main app = new Main();
                app.setDialogBehaviour(SimpleGame.ALWAYS_SHOW_PROPS_DIALOG);
      //app.setConfigShowMode(ConfigShowMode.AlwaysShow);
      // Turn the logger off so we can see the XML later on
      app.start();
   }
 
   protected void simpleInitGame() {
      // Point to a URL of my model            
      URL model = Main.class.getClassLoader().getResource(
         "drag.obj");
                /*URL path = this.getClass().getClassLoader().getResource("");
                logger.log(Level.SEVERE, path.toString());*/
                
 
      // Create something to convert .obj format to .jme
      FormatConverter converter = new ObjToJme();
      // Point the converter to where it will find the .mtl file from
      converter.setProperty("mtllib", model);
 
      // This byte array will hold my .jme file
      ByteArrayOutputStream BO = new ByteArrayOutputStream();
      try {
         // Use the format converter to convert .obj to .jme
         converter.convert(model.openStream(), BO);
                        byte[] bt = BO.toByteArray();
         Node maggie = (Node) BinaryImporter.getInstance().load(
            new ByteArrayInputStream(BO.toByteArray()));
         // shrink this baby down some
         maggie.setLocalScale(.1f);
         maggie.setModelBound(new BoundingSphere());
         maggie.updateModelBound();
         // Put her on the scene graph
         rootNode.attachChild(maggie);
      } catch (IOException e) { // Just in case anything happens
         logger.logp(Level.SEVERE, this.getClass().toString(),
            "simpleInitGame()", "Exception", e);
         System.exit(0);
      }
   }
}



I have take usual example and have .obj 3D model. Please tell me how can I load it using getResources? As Far as understand it is not just path to the directory, I have to put it in list of resources in some way? Got cast exception.