code: def read_text(self, name):
          
          with self.open_readable(name) as fp:
              res = fp.read()  # StringIO or file object
              # try:
              #     res = fp.getvalue()  # StringIO returned by FtpTarget
              # except AttributeError:
              #     res = fp.read()  # file object returned by FsTarget
              res = res.decode("utf-8")
              return res
docs: Read text string from cur_dir/name using open_readable().