Hi! I've just read that for binary io it's better to use 'filebuf' instead of 'std::iostream::read/write'. Can any body tell me how to handle errors with filebuf? I am goona miss all those nice ios::goof()/bad()/fail() functions. Thanks, Andriy