Hashes names of all the subfiles and subfolders of the given directory