@staticmethod
def get_uti_type(flp) ->str:
    """
        Get the Apple conform UTI Type from a flp instance which has been used on the data which should be sent

        :param flp: fleep object
        """
    uti_type = 'public.content'
    if len(flp.mime) == 0 or len(flp.type) == 0:
        return uti_type
    mime = flp.mime[0]
    f_type = flp.type[0]
    if 'image' in mime:
        uti_type = 'public.image'
        if 'jpg' in mime:
            uti_type = 'public.jpeg'
        elif 'jp2' in mime:
            uti_type = 'public.jpeg-2000'
        elif 'gif' in mime:
            uti_type = 'com.compuserve.gif'
        elif 'png' in mime:
            uti_type = 'public.png'
        elif 'raw' in mime or 'raw' in f_type:
            uti_type = 'public.camera-raw-image'
    elif 'audio' in f_type:
        uti_type = 'public.audio'
    elif 'video' in f_type:
        uti_type = 'public.video'
    elif 'archive' in f_type:
        uti_type = 'public.data'
        if 'gzip' in mime:
            uti_type = 'org.gnu.gnu-zip-archive'
        if 'zip' in mime:
            uti_type = 'public.zip-archive'
    return uti_type
