Thankyou to all of the monks for their suggestions. The code written by Eliya works very well.
In reply to Re^2: comparing 2 files by garyboyd in thread comparing 2 files by garyboyd