hello @command ,
GetDirectories Node returns a Spread<Path> you have to convert Path to String, try this
Spread<Path>
Path
String