This assumes that localizations of this message will always put the filename at the end. Bettter to use the {{filename}} syntax in the locale file and then pass the filename to the _() function along with the name of the string.  I think you can find examples in other apps if you don't know what I mean.