Factored out an os path join function commonly used.
Factored out another os path join function commonly used.