Parsing the data

Hi I need to parse the following data using shell script
Table

stage4n_abc 48
stage4o_abcd 4
adashpg_abc_HeartBeat 1
stage4l_asc 168

Can anyone gimme the solution.

I want each value to get stored in an array or variable and want the value to be greped from another file.

Thanks
Archana

Can you give a format of the another file from which the values are grep'ed and entered like the above. And the input file as well.