I think you need to deal with double quotes in filename by escaping them.