Since the birth of the file system, it has been decided that there are many types of files. Although they can all be stored in the file system, different types of files can only be opened and edited by specific software.
This is why every software manufacturer develops software that edits files with a specific suffix, like.doc, like.pdf... The common practice in the industry is to use different suffixes to represent different types of files, and form associations in the operating system, so that when you open these types of files, the system can call the corresponding software to open it.
However, in many applications, we need to convert the edited file to another format, such as indent the file