The web browser needs an URI, which must be in this form <code>file:///path/to/file</code>.