File Validation script is putting up a hearty fight