Split FilePath into DirPath and FilePath

Love the Windows support :) /joke