Issue is that JS can't access local drives (Merci Dieu!).
The only browser based approach would be to put the kml files on a web
server.
My solution is to develop in .NET, which can access local drives and
invoke the API in a webBrowser with embedded JS to drive the API.