>Then why did Jilani Khaldi suggest using exceptions ? By experience ;) I have always used exceptions to control I/O and they worked always fine as expected. jk