def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def send(self, command):
        if self._bufferedCommands is None:
            self._bufferedCommands = command
        else:
            self._bufferedCommands += "\n" + command