}
setValueForBinding(file, BindingNames.file);
}
else {
if (parent().hasBinding(BindingNames.inputStream)) {
InputStream inputStream = fileData.inputStream();
setValueForBinding(inputStream, BindingNames.inputStream);
}
else if (parent().hasBinding(BindingNames.bytes)) {
byte[] byteArray = fileData.data();
setValueForBinding(byteArray, BindingNames.bytes);