This is exactly what I did with my first G17. Trigger hurt my finger just after a couple of shots. The second G17 I bought used, and it has never bothered me. In the photo below, you can see a little ramp like place in the trigger. That shows how much I took off. When the trigger is all the way back, the safety is flush with the trigger. Pain went away. I did it with a Dremel, and was very careful about it.