Isn't throwing an exception here just punting?  You could loop over the files and render name1+name2+name3... which would be friendlier.