support loading local files via scheme "file://"