Avoid including bogus files.