How can I include a direct link in the activity email?

Hello, I would like the emails that go out when files have been created to have a link straight to the file. How could I go about doing this? I see that I can extend the EMailTemplate class, but I think I would need to modify things a step earlier. Any tips?