Minor tweaks to the file upload capabilities