FC-2907
move mimetype function
FC-2910