Never-Never-NEVER open file for reading until you think twice what mode (text/binary) of operation do you need!!