Above code is not cross platform, could you use `base::FilePath` instead?