add line selection and file link