       </Details>
     </div>
 
-  handleFiles: (forEachRow, e) ->
+  handleFiles: (forEachRow, afterFileHook, e) ->
     @setState
       importErrors: []
     Array::slice.call(e.target.files).forEach (file) =>

    @props.task.choices[choiceID]?.confusionsOrder.push confusionID
    @props.task.choices[choiceID]?.confusions[confusionID] = details

  addQuestion: ({question, multiple, required, answers, name, __parsedExtra}) ->
    unless question? or name?
      throw new Error 'Questions require a "question" column'
    unless answers?
      throw new Error 'Questions require a "answers" column'

    choices = null
    questionID = null
    if(!!name)
      choices = name.split(/\s*;s*/)
    if(!!question)
      questionID = @makeID question

    # don't put it in the default questionsOrder if we've specified choices it should map to
    unless choices? or questionID in @props.task.questionsOrder
      @props.task.questionsOrder.push questionID

    # if we specified mapped choices, create those entries instead
    if choices?
      @props.task.questionsMap ?= {}
      for choice in choices
        continue unless !!choice
        choiceID = @makeID choice
        @props.task.questionsMap[choiceID] ?= []
        @props.task.questionsMap[choiceID].push questionID if questionID?

    # we only can get here if the question stuff is empty and the names are not empty
    # that means there will be no questions for this choice, so we don't need to actually
    # store any questions or answers for this row of the csv
    return unless questionID?

    @props.task.questions[questionID] =
      label: question

        </TriggeredModalForm>
      </div>
      <div className="columns-container" style={marginBottom: '0.2em'}>
        <FileButton className="major-button column" accept=".csv, .tsv" multiple onSelect={@handleFiles.bind this, @addCharacteristics, null}>Add characteristics CSV</FileButton>
        <TriggeredModalForm trigger={
          <span className="secret-button">
            <i className="fa fa-question-circle"></i>
