.do
.dta
A do-file is a standard text file that is executed by Stata when you type do filename. You can use any text editor or the built-in Do-file Editor to create do-files.[1]
Some details here