settings: add "path" field in the settings to specify the files output location.
fileaction: save the jpg files in the directory specified in the config file (settings.json).