I believe you could use eachFile to modify the path similar to the way it was described in this post. It doesn’t necessarily make your logic more readable or maintainable - rather more complex.
I believe you could use eachFile to modify the path similar to the way it was described in this post. It doesn’t necessarily make your logic more readable or maintainable - rather more complex.