jreinke/magento-import-categories — pull request #1 by AlainBecker (2013-10-18 08:31:20+00:00)
Title: try and read file *before* deleting categories

Better safe than sorry : fopen() and exit if it fails *before* deleting categories, if 'force' option was used.