Update TopicFileReader.java

Made the exceptions more specific.