Note that all these size limits are based, not on the original file size, but the MIME-encoded copy. The common Base64 encoding adds about 33% to the original file size, meaning that an original 20MB file could exceed a 25MB file attachment limit.