The FileName function returns a string containing the name of the table file currently being read, without path but including the extension.
Syntax:
FileName()
LOAD *, FileName( ) as X from
C:\UserFiles\abc.txt