TXT is a file format that contains the text, organized in rows. Text files opposed binaries that contain data that is not intended for interpretation as a text (encoded sound or image). The text file can contain both formatted and unformatted text. Since the very simple text files, they are frequently used for storing data.
DOTM file has two attributes namely Zip file compression and XML (Extensive Markup Language). It is identical to .DOCX and .DOCM file in which the M stands for macro and the X stands for XML. The application that can open both .DOCX and .DOCM is via Microsoft Word version 2007 or 2010.