return local file contents as endpoint.

def read(self, _file):
        """return local file contents as endpoint."""
        with open(_file) as fh:
            data = fh.read()
            if self.verbose:
                sys.stdout.write("read %d bytes from %s\n"
                                 % (fh.tell(), _file))
        return data