The use of .txt and .dat files

The .txt (text files) and .dat (binary) are useful as they allow for
data to be accessed from outside the program, therefore making the
program simpler to understand.