add code to open grep result in split