String Match Directory Names In Python