Using mime library for mime types