how to save a list of files as a specified extension

hello everyone,i'm trying to use the solidworks api the create a user interface that allows to save a list of files as a specified extention i created the interface and now i'm begening with the SW API,here is a screenshot Uj0oqIR.png

SolidworksApi macros