'Set up a dictionary to hold files belonging to a particular
module with the module name as the key. Files which contain
strings belonging to more than one module are grouped under
the "special" key.'

def __init__(self):

    d = {}
    modlist = self.get_module_list(current.request.folder)
    for m in modlist:
        d[m] = []
    d['core'] = []
    d['special'] = []
    self.d = d
    self.modlist = modlist
