in reply to just starting!

If your current 'database' is truly just a file, then Perl is an excellent tool for allowing someone to search the file. If you want to get started there, you will find some good resources for working with files in the Tutorials.

If you need more details, you might also want to post the type of system you're trying to run this on (Unix, Windows, etc.)