Please just add arguments to arg like  arg(..., ...., ..., ..., ..., ...)  instead of arg(...).arg(...).arg(...)  Because the file name might contains '%'