fixed exceptor file reading