docs: def create_writer_of_type(type_name):
      """
          Create an instance of the writer with the given name.
  
          Args:
              type_name: The name of a writer.
  
          Returns:
              An instance of the writer with the given type.
      """
      writers = available_writers()
  
      if type_name not in writers.keys():
          raise UnknownWriterException('Unknown writer: %s' % (type_name,))
  
      return writers[type_name]()