It might be useful to store the actual MIME type in the
database to allow restricting searches by MIME. (For
example, searching for all image/gif files.)
On the other hand, I doubt this gains much over using
the restrict feature to match .gif or whatever.