Data Validation

Added code for data validation and file verification.