Probably the '.txt' that you are reading is an ASCII file. .jpg and (I think) .doc are binary files. The difference is that ASCII files generally store readable text data, and binary files generally contain non-text data.
-Fredric
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
Offline 80 posts
since Aug 2005