You just write the file names into the exclude file, without treating spaces differently (no quoting, no escaping).