Use a custom exception type to indicate invalid log files