add index file generation (still incomplete, top students info is missing)