export const WidgetConfigurationFileSelectionHandler = function(options) {
  var widget = state.entry.widgets.get(options.id);

  this.call = function(file) {
    widget.configuration.setReference(options.attributeName, file);