Use int64 for attachment Len()