Added write of failed titles to file.