The detection was done on the dropped path, so it worked when dropping a directory, but not a file. Now we can drop a file and it will run the detection on the parent directory.