Get data from two text file in one loop

Hi all

I have two file that contain different data.I want to get each file data line by line in one loop.i try with cat but cat works ok against one file

File a

23
34
45

File b
abc
xyz
cgh

now i want like this in a loop.Below is just example.i am doing some thing smiler.can any one guide me.

ls $filea $fileb

you mean this??

ls `paste -d" " file1 file2`

Post your sample output....

Actually i mean that

paste file1 file2 | while read a b
do
echo $a $b
done