click on line opens correct file