implement indexFile and fix data search
Merge branch 'master' of https://github.com/Cmput291Fa14TeamNYC/Project2