[eluser]bigtony[/eluser]
Approach 1: Your view could check for the file's existance before it puts the link on the screen, and display a friendly message if not found.
Approach 2: Your link could call a controller function passing in the file name, and the called function can check for the file existance.
Probably may other ways...