What software should I use to open the .dat flles
The .dat files are opened by Bitcoin Core, they are not supposed to be opened in plaintext. The blockchain will be in the blocks/ subdirectory. You can see a list of the files bitcoin core uses here:
https://github.com/bitcoin/bitcoin/blob/master/doc/files.md