Create a hash key from a directory of files