i guess it wouldn't matter in this particular example, but some browsers apply different security restrictions to the file:// protocol than they do to http.
Hmm I guess I haven't done that in a really long time, but I remember years ago running into issues because local files wouldn't reload immediately when I made changes to them (cached?) and have avoided it since. Don't know if other people have ever run into this?