How to access and use files for games using Python [closed]

I’m experimenting with games in python and I am wondering how to use files, and what to use them for since I have seen many games that use multiple files to operate. How do I use multiple files and how is using multiple files beneficial?