the RESULT file is the same as the second file but the the second column has the equivalent IDs from 2nd column of file 1 3998122 AAAA 13 5877245 AAAA 17 3637488 AAAA 19 3998162 AAAA 21 638421 AAAA 23 2395226 AAAA 25