use coslib file::getMime