in reply to help with loop

please provide some sample data of both the files