public static Object loadHere(String basedir,ScriptEngine engine,String loadtarget) throws FileNotFoundException, ScriptException {
  File file=new File(basedir);
  file=(file.isDirectory() ? file : file.getParentFile());
  return load(new File(file,loadtarget),engine);
}

public static Object loadHere ( String basedir , ScriptEngine engine , String loadtarget ) throws FileNotFoundException , ScriptException { File file = new File ( basedir ) ; file = ( file . isDirectory ( ) ? file : file . getParentFile ( ) ) ; return load ( new File ( file , loadtarget ) , engine ) ; }
load a file relative here . this is relative , but will not work across usb mass storage devices . this should be used by module - makers for including files in their own modules .
