It's possible using the _FILENAME field, e.g., with an action "Format value" or "Replace". See for example this post from the FAQ:
_FILENAME