Where is this code being run from and where is the filename list supposed to go?