Split FilePath into DirPath and FilePath

Agree.