Catch exception when file cannot be extracted