compatable for windows offline (file://C://path)