See Python Pathlib Tutorial Dojo