disallowing files which don't pass validation into the doc store