WalkPath walks through the root directory, running the input `walkFunc` function on all
files. If the root path is invalid, a custom error is returned, use IsInvalidPathErr
to check for this.
Note: The parameter `walkFunc` will be selectively run on files