That sentence is not easy to read, IMO.

Suggestion
"In order to obtain the filename without leading directories and extension combine the functions as following:"