Bring back utils: mkdirRecursive, move logic inside logProcessInto()