When re-uploading an uploaded file, also record mtype.