writeall