Bug Fix: template file upload worked badly due to missing loop over multiple controls of the TPL class on the form