Update file size calculation
Update user canel event error message handling