File upload tweaks