My replacement fender included the brake line holder; I just had to use a torx key to take out the screw and then I used the same torx screw to fasten the 'flap' on the new fender.
If your replacement fender does not have a brake line holder, then see the previous post.