Added a switch with mime_types in it: no additional functionality yet.