The goal is to do something every time a file from a list is modified (saved).
I have no idea to proceed. The end goal should be something like this:
files = ['file1.txt', 'file2.txt', 'file3,txt']
if (one of the files in files is modified):
Print '%s has been modified' % (filename)