handleFileEvent = id => {
  return event => {
    if (
      event.type !== 'keypress'
      || (event.type === 'keypress' && event.keyCode === 13)
    ) {
      handleFileFocus(id);
    }
  };
}
Handle file element event
@param {string} id file identifier