Report all files modified (during the latency period) on one output line.
Run the command once for all reported filenames.
Define and use types for Filename and Command.