Debug utility to print index file