how can i extract the contents of a text file and distinguish the characters?i have to extract input file having character matrics and then have to place the character in another matrix.e.g.

f g g y u q
w e g u f y
r t y f u w