Deal with file import exceptions.