in reply to Searching text files
A database would be better. If you wanted to stick with text files, you could create subfiles that contained all the numbers with a given exchange (i.e. the first three numbers after the area code). You can then only open the file that matches that area-code and exchange, and you'll do much less searching.