See Python Pathlib Path Functions Vs State