Added support for file:// URIs.