Hi Yogor,
You were right in the fileA there was a space after the comma, after removing it, the output is right. Thanks a lot for your help.
Even though I have not tried the other options sent by duncdude and ranganath ramachnadra I appreciate your help very much thanks once again.
BR
Prem