Error handling of incorrect file and page links now produces a more
helpful message.