There are multiple possible approaches, depending on the possible file names you get.
Have a look at the String functions in QV help,there are a lot of useful functions for extraction.
For example, here are two ways to get your result:
TextBetween(Filename,'\',';',3) as Result1,
SubField(SubField(Filename,'\',-1),';',1) as Result2;
LOAD * INLINE [