indexer loads json from input file and creates index in specified directory