class dirpath:
    def __init__(self, str, recurse=0):
        dp = str.split(';')
        dirs = {}
        for d in dp: