human
loop over files
assistant
Here is some code to loop over files in directory `source`

for (root, dirs, filenames) in os.walk(source):
    for f in filenames:
        pass

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.