CorpusReader implements the Closeable interface.