open (FH, "< $parent_index") or die "could not open file $parent_index for reading:$!";