Partial implementation of diff -f