Added in 1.9.9
$filename
Returns the filename that was transmitted during on FILESENT, on FILERCVD, on SENDFAIL or on GETFAIL event.
Example
on *:FILERCVD:*:echo -ag file recieved from $nick was $filename on *:FILESENT:*:echo -ag file sent to $nick was $filename