code: def cat(fname, fallback=_DEFAULT, binary=True):
      
      try:
          with _open_binary(fname) if binary else _open_text(fname) as f_d:
              return f_d.read().strip()
      except (IOError, OSError):
          if fallback is not _DEFAULT:
              return fallback
          raise
docs: Return file content.
      fallback: the value returned in case the file does not exist or
                cannot be read
      binary: whether to open the file in binary or text mode.