working on index search for key given data
working on idex file search for key given data