Split FilePath into DirPath and FilePath

Yes, I'll do that.