warn on invalid files