VID-867 Check the file size on the temp file before upload