@gokula - There are probably a number of ways to address this...
Use a VISTA rule to drop any requests where the URL indicates it's a local file (file:) rather than a hosted web page (http:, https:). Note that there is a cost associated with this approach.
If you're using Launch, place conditions on your Analytics rule(s) that prevent the call(s) from firing if document.location.protocol is NOT "file:".
If adding conditions to rules is too much work (lots of rules!), or you're not using a tag manager, check the document.location.protocol value in s.doPlugins. If it is "file:", abort the call using s.abort.