extended hardlink-intersection to work with freq/graph files also