function setCurrentImportOption(array $upload)
{
try {
$this->isValidZip($upload['file']);
} catch (\Exception $e) {
return false;
}
$option = array('file' => $upload['file'], 'file_type' => $upload['type'], 'type_of' => 'docx', 'chapters' => array());
$option['chapters'] = $this->getFuzzyChapterTitles();
return update_option('pressbooks_current_import', $option);
}