def _diff_file(a, b):
 diff = _diff(open(a).readlines(), open(b).readlines())
 return list(diff)

def _diff_file ( a , b ) : diff = _diff ( open ( a ) . readlines ( ) , open ( b ) . readlines ( ) ) return list ( diff )
diff of files read as strings .