.. js:function:: spawnFromFile(viewClass, selectorArgs, callback) :param BaseView viewClass: The view class to be spawned. :param Object selectorArgs: Additional arguments to be passed to the file selector. :callback String path: The path argument of the fileSelector callback. If the callback does not return *undefined*, this value will be used as *args* while spawning the *viewClass*.