now using mime module for mime types