human
list all files of a directory
assistant
Here is some code to list all files of a directory "somedirectory"

os.listdir('somedirectory')

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