Removes deprecated data field when uploading new file.