add validate file