'Given a path for glob return list of files to be passed to server.
Dangling symlinks are warned about and not returned'

@staticmethod
def _glob(path):

    pathList = []
    for p in glob.glob(path):
        if os.path.exists(p):
            pathList.append(p)
        else:
            logSys.warning(('File    %s    is    a    dangling    link,    thus    cannot    be    monitored' % p))
    return pathList
