Added file contents into hash
Added tests and hashToDir function
Updated description