still ret is useless, you can have just
```
SCR.Write(path(".target.string"), "#{regd_path}/#{regfile}", slp.join("\n")) 
```