What is the script searching for in the ini files? How are the files organized.. what sections/items/data? How does the data need to be sorted to get the top 5?

You will have to give more detailed info in order to get a good answer.

-genius_at_work