For reading writing it files there are two classes it_file and its parent it_ifile. However an object declared like this
still allows to open a file in read only mode
Afterwards, however writing into file does not generate any error:
file << Name("a") << a;
such code should generate an error.