cleaned up put in place hash table for matched files
buggy...  but getting better
basic matching finished