revamp file search to use project index  (recursively) when possible