code: def read(self):  # Returns bytes/str
      # We would like to read unicode here, but we cannot, because we are not
      # sure if it is a valid unicode file. Therefore just read whatever is
      # here.
      data = res.resfs_read(self.path)
      if data:
          return data
      with open(self.path, "rb") as f:
          return f.read()
  
file_path: catboost/contrib/python/parso/py2/parso/file_io.py
imports: import os
  from parso._compatibility import FileNotFoundError
  import __res
label_desc: Use image node_id 2 for calling the FileIO obj's underlying member method code with example usage: obj.read() and returns: data, f