Input file check.