Change file validation for test script