To save as a text file we use the.tresfile extension, and use the.resfile extension to save in a more compact and non-human readable binary format. Also, save the file to:user://file_name.res(for example) to sav