Input and output differ
If we are going to treat files as sequences, the distinction is essential
Many algorithms also make the distinction
- copying reads the input, writes the output
- searching just reads, although whatever requested the search might write later
- reversing a sequence reads and writes