// Now deal with any additional file arguments
final HTTPFileArgs fileArgs = getHTTPFileArgs();
if(fileArgs != null) {
outFiles = new HTTPFileArg[1+fileArgs.getHTTPFileArgCount()];
outFiles[0] = file; // first file
HTTPFileArg[] infiles = fileArgs.asArray();
for (int i = 0; i < infiles.length; i++){
outFiles[i+1] = infiles[i];
}
} else {
outFiles = new HTTPFileArg[]{file}; // just one file