Log the input filename on error