Actually extension doesn't keep the types unique.

For example, both **audio/mp4** and **video/mp4** have the default extensions of **.mp4** - we tend to use the slightly non-standard, Apple codified **.m4a** extension for audio, but it's not a safe assumption that it will always be true.