Java Handlers for different types of files used in NLP