public FDModel loadModel(String filename,String cwd){
  String fn=filename;
  if (fn == null)   return null;
  if (!fn.endsWith("." + fileExtension)) {
    fn+="." + fileExtension;
  }
  ModelPersistenceHandler persistenceHandler=createModelPersistenceHandler(resourceSetProvider.get());
  return (FDModel)persistenceHandler.loadModel(fn,cwd);
}

public FDModel loadModel ( String filename , String cwd ) { String fn = filename ; if ( fn == null ) return null ; if ( ! fn . endsWith ( "." + fileExtension ) ) { fn += "." + fileExtension ; } ModelPersistenceHandler persistenceHandler = createModelPersistenceHandler ( resourceSetProvider . get ( ) ) ; return ( FDModel ) persistenceHandler . loadModel ( fn , cwd ) ; }
load franca deployment model file ( * . fdepl ) and all imported files recursively .
