Create IndexPrinter.java