added path utilities to aid formatting.