def __init__(self, base=None):
self.base = os.path.abspath(os.path.normpath(base or os.getcwd()))<EOL>self.prefix = self.base + os.sep<EOL>self.allfiles = None<EOL>self.files = set()<EOL>
Initialise an instance.

:param base: The base directory to explore under.