how to use file:// protocol to access directory