File renaming using user specified name

Please Look-in to the attachment, help me to create a macro....

I am a beginner in this field of Macro...

SolidworksApi macros