If you are talking about a file stored locally on your own computer and you are typing the address into the address bar of the browser then you need to use file:///C:/ followed by the path to the file.
e.g. this is where my local files are stored:
Of course you could just double click on the file from windows explorer and it will open in your current browser anyway.
I'm not sure if this is what you meant though