Yes, that is on purpose. Because `xdg-open` has no such flag, I had to strip the filename from the path anyway, so now `open` is only called with a directory path. The `-R` is no longer needed here.