You can have separate messages for every file by using the below command
git commit file1.py -m "file1 commit msg" && git commit file2.py -m "file2 commit msg"