I’m not sure what the file named New was or where it came from, but it appears that the script and darktable didn’t care for it. Perhaps I should check that it’s an image before I try and import it
I’m going to rework it and use inotifywait to watch the directory for changes then react when inotify signals a close_write event.