Simplified I/O select in the reader routine