Exceptions for file reading and success count