in reply to Monitoring file names for changes in extension
Ok, that sounds pretty simple - so where are you stuck?
(Hint - check How (Not) To Ask A Question)