code: public static void main(String[] args)
  	{
  		if (args.length != 1)
  		{
  			System.out.println("\nUse Parameter: path (to biopax OWL files)\n");
  			System.exit(-1);
  		}
  
  		BioPAXIOHandler reader = new SimpleIOHandler();
  		final String pathname = args[0];
  		File testDir = new File(pathname);
  
  		/*
  				 * Customized Fetcher is to fix the issue with Level2
  				 * - when NEXT-STEP leads out of the pathway...
  				 * (do not worry - those pathway steps that are part of
  				 * the pathway must be in the PATHWAY-COMPONENTS set)
  				 */
  		Filter<PropertyEditor> nextStepPropertyFilter = new Filter<PropertyEditor>()
  		{
  			public boolean filter(PropertyEditor editor)
  			{
  				return !editor.getProperty().equals("NEXT-STEP");
  			}
  		};
  		fetcher = new Fetcher(SimpleEditorMap.L2, nextStepPropertyFilter);
  
  		FilenameFilter filter = new FilenameFilter()
  		{
  			public boolean accept(File dir, String name)
  			{
  				return (name.endsWith("owl"));
  			}
  		};
  
  		for (String s : testDir.list(filter))
  		{
  			try
  			{
  				process(pathname, s, reader);
  			}
  			catch (Exception e)
  			{
  				log.error("Failed at testing " + s, e);
  			}
  		}
  	}
docs: --------------------------- main() method ---------------------------