直接比较两个文件的内容
NSString *path = [[NSBundle mainBundle] bundlePath];
NSString *filePath1 = [path stringByAppendingPathComponent:@"3-g.txt"];
NSString *filePath2 = [path stringByAppendingPathComponent:@"4-g.txt"];
// NSString* pathfilePath1 = [[NSBundle mainBundle] pathForResource:@"3-g" ofType:@"txt"];
// -(BOOL)contentsEqualAtPath:path andPath:path2