def file_check(file):
    """
    Check a sample if it is supported on the SNDBOX enviroment
    Input:
    File - string name of File
    output:
    Boolen - True/False
    """
    supported_files = ['.raw', '.doc', '.dot', '.xls', '.csv', '.xlt',
        '.xlm', '.ppt', '.pot', '.pps', '.docx', '.docm', '.dotx', '.dotm',
        '.dotm', '.xlsx', '.xlsm', '.xltx', '.xltm', '.xlsb', '.xla',
        '.xlam', '.iqy', '.pptx', '.pptm', '.potx', '.ppsx', '.xml',
        '.pe32', '.rtf', '.pdf', '.vbs', '.vbe', '.ps1', '.js', '.lnk',
        '.html', '.bat', '.zip']
    supported_sample = False
    while supported_sample == False:
        if '.' not in file:
            supported_sample = True
            return True
        else:
            for file_ext in supported_files:
                if file_ext in file:
                    supported_sample = True
                    return True
                else:
                    return False
