When a  comma is present in a file name, quotes are needed when passed to a user script.

The replacement list2cmdline() should handle commas.