move path utilities in new module