See Python Pathlib Path Functions Example