def getDeviceNameFromFileName(name):
    """Parses the filename and returns device name, or false if not found."""
    if '10754' in name:
        return '10754'
    elif '13976' in name:
        return '13976'
    elif '15502' in name:
        return '15502'
    elif 'ST530' in name:
        return 'ST530'
    elif 'ST534' in name:
        return 'ST534'
    else:
        return False