* added some exceptions for file reading.