I think in "Replace" the _FILENAME does not include the extension.
I wrote here how to do it with regular expressions.