function makeHandlers(node, handlers) {
  handlers = (handlers || []).map(
    h =>
      (...args) =>
        h(...args, node)
  )
  return [
    createDisplayNameHandler(
      node.absolutePath || `/UnknownComponent${++fileCount}`
    ),
    ...handlers,
  ]
}
Wrap handlers to pass in additional arguments such as the File node