python dictionary and folders