Monitors input directory and transforms/processes files before securely copying to the output directory based on the input type.