By generator, do you mean a method that will "generate" the .py files one by one instead of returning them all in one big list?