wip: transact_file to be used by publisher. Refactor into main loop using inotify to see capture files being added.