minor tweak to the file uploader