The robots.txt file is what you would use to tell the search engines what files to disallow - NOT to index...

Here is a good article explaining what a robots.txt file is and on how to set up your own robots.txt file for your websites.

http://www.free-seo-news.com/all-about-robots-txt.htm

hope it useful..