Checking file size before sending email