#316: Compute hash value of file content

Resolves #316.