Handle file errors.