One more minimal declaring is, "set the code higher than the code that takes advantage of it", And so the logging need to be near the best, possibly in \utilities.
The java.nio.file.SimpleFileVisitor Class is utilized https://medium.com/@linkdaddy/what-is-a-source-file-226b0fd56812