File URLs follow the form
file://host/path
If host is omitted (file:///path), it is taken to be localhost.
So technically, file://path is not actually a valid file URL, while file:///path is (although Windows typically accepts both).
http://www.cs.tut.fi/~jkorpela/fileurl.html