Open and save xltx file

Refer to the following example code to see how to open and save xltx file.