$file1 = file("../data/or_data.dat");
$file2 = file("../data.csv");
$str = array_intersect($file1,$file2);
foreach($str as $value){
echo $value;
}