Rejigging file upload