code: def do_read(self, args):
          
  
          if not self.current:
              print('There are no resources in use. Use the command "open".')
              return
  
          try:
              print(self.current.read())
          except Exception as e:
              print(e)
docs: Receive from the resource in use.