This allows us to calculate those directories only once, and just pass them around as necessary.
This way we can return more values without breaking callers.
is