Like other disk image formats, a WIM file contains a set of files and associated filesystem metadata.
The primary advantages of being file-based is hardware independence and single-instance storage of a file referenced multiple times in the filesystem tree.