Original: Under the Windows operating system, a file is regarded as a text file if the suffix of the name of the file (the "extension") is "txt".
Simplified: A text file is a computer file with an extension of.