added a simple schema validation for the input file