hashing basename instead of path