Hashes content in directory and returning object with file structure and hashes (useful in tests)