A DAT file is most times a binary file. So you should try to read it as such:
Reading and Writing Binary Files[
^]
The other option is that the *.DAT extension is used instead of a proper extension.
So if binary reading does not work you should try to read it as a text file or even a picture (JPG).