I've 2 files which are different, but contain some identical content.
for example: the 2 files contain MAC addresses of WiFi APs
I need to provide a report of which MAC addresses could be found in both files

I'm trying to avoid building the code from scratch, and looking for already made components that will help me with this task, for example:
some smart/advanced comparison functions, etc...