refine comments and rename variables for more understandable code
rewrite the smallTextFiles API, and add new test of contents' hashcode
get umask from system