You can do things with .htaccess - see linked tutorial - but that can block legit visitors to your site.
If you become aware of deep links that you don't want then the quick and dirty fix is simply to rename the file concerned - and the appropriate internal links in your site of course.