How does one go about to finding the script folder path for the addin that is currently being executed?

Reason: I want to save settings files in an appropriate folder and the script folder seems to be the best one. As of now, I'm saving stuff in the My Documents\Streetdeck folder:

+ "\\Streetdeck\\Filename.ext";
Is it "OK" to store files here? Where should files be stored?