Patched in use of std::filesystem::path for paths.