TGFileInfo remove path from fFilename

Hi

I am opening a file dialog

and now need to extract the filename without the full path. Best would be to get both separetely.
Is there a way without using some complicated C-code?

Cheers,
delos

Otto

Otto