tweak file upload