support comparing files with some posiion offset relative to each other