Use built-in path function