Delete file if upload successful