Accepts a local html file as import option; Better error handling