Python Path Iterdir Recursive Process Of Writing