test file integrity