The three standard streams are specifically allocated to console I/O - you dont; use them to access files at all.
Instead, your create a new stream for each file using the fopen function
] which returns a
- which is a pointer to a stream.
The link shows examples of opening, closing, reading, and writing files.