Your Windows operating system and many third-party applications create hundreds of Temporary files on your system in one single day. Normally, these files do not cause any issue, but when they ...
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).