def get_filename(file_name):
    """Used to get file name from the path"""
    temp = str(file_name).lower().split('\\')[-1].split('.')
    if len(temp) >= 2:
        return '{}.{}'.format(temp[0], temp[1])
    else:
        return None
