Handle views with an invalid filename