'Lists the (local) path and content of all files in the template'

def files(self):

    for (root, _, files) in os.walk(self.path):
        for f in files:
            path = os.path.join(root, f)
            (yield (path, open(path, 'rb').read()))
