code: def write(self, wr_string):
          
          result = self.fd.write(wr_string)
          self.fd.flush()
          return result
docs: Write to file and flush
  
          :param wr_string: -- writable string
          :type wr_string: str
          :return: None
          :rtype: None