use os agnostic path fn