extracts a displayable subfolder name from full filename

def get_subfolder(txt):
    """
    extracts a displayable subfolder name from full filename
    """
    root_folder = os.sep + 'aikif' + os.sep
    ndx = txt.find(root_folder, 1)
    return txt[ndx:].replace('__init__.py', '')