Not using a memory stream but directly the file stream might not end up as fast (though the differences are non measurable due to changing background cpu load) but we save up a lot of memory!

The example is using on its peak just 1mb.