Just FYI: if I recall correctly, the original intent of this code was to avoid re-uploading the same file repeatedly if it was being appended, which might waste bandwidth.