fix file upload on iteration
Merge remote-tracking branch 'origin/master'