validate data stored in CSV, PRN, ODS or Excel files