`= segments.reduce { a,b -> File(a,b).path }` ...
# stdlib
c
= segments.reduce { a,b -> File(a,b).path }
(although this produces a
String
, need to wrap it in a
File