comparing package:directory-tree

a compare function that ignores the free "file" type variable: