Split FilePath into DirPath and FilePath

Yeh, fair enough.