1.I have the match file .(from that text file i had matched the word and renamed the names of the directories). 2.After directories matches are done i need to do same process fo all .config files inside those sub directories and directories. 3.But the point 2 should done without affecting all rev.config files from the same directories and sub directories.