Ensure handlers are applied correctly for all files.