Second, if you're going to over engineering just look for someone who has already done that for you: http://www.den4b.com/products/renamer
It's no use to engineer something that has been solved (unless you're learning) if there are already better solutions. Even if it is an example a better one should be used.
The moral of the story should he use the best tool for the job, don't shoe horn a bad language for a into a solution, and also Google is usually the best tool for every job.