Complete support for file:// urls