YaCy is a free, decentralized search engine that can be installed locally. When you run a search via google.com, that search not only goes through the Google servers, but it also places AI answers ...
os.path.join (folder, filename) ensures the path is correct for the system. On Windows, it uses backslashes (reports\summary.txt); on Linux and macOS it uses forward slashes (reports/summary.txt).