separating the output modules into two and restoring the original index based output module
re-factorised output for clarity & attempt to fix issue at p5 of files not being moved out of in_progress
re-factorised output for clarity & attempt to fix issue at p5 of files not being moved out of in_progress