Search for text in one file and replace a particular text in another file