Update to program #2

Now the program processes the input folder and its subfolders, but not
old output folders.