Safari changing from file: to http://localhost

This is maybe a fairly simple question, but I am puzzled as to why when I try to open the following on my hard drive via applescript, although it opens at first succesfully, it then redirects (and keeps redirecting to) an equivalent prefixed by “http://localhost…” which cannot be found:


tell application "Safari"
	activate
	set fileNow to "Macintosh HD:Users:Brett:Library:Application Support:Saft:Sidebar:LocalTOC.plugin:localsearch.html"
	open fileNow
end tell

thanks in advance,
Brett

Oops…

Sorry, nevermind, I figured it out (the source code I had borrowed for local use had javascript to do some kind of refreshing I think)…

Brett