I/O with punctuation check.