adding BuildIndexUtils.java