def file_validator(optdict, name, value):
 return optik_ext.check_file(None, name, value)

def file_validator ( optdict , name , value ) : return optik_ext . check_file ( None , name , value )
validate and return a filepath for option of type file .