Sanity checks to detect wrong/broken input files