Add simple input file validation