Don't delete the file before uploading it. (Doh!)