This function will create output folders in the same structure as the source folder
is a path to the source folder
is a name of the output folder
is a stage name
a path to the output folder
This function will create output folders in the same structure as the source folder