refactored: introduction of FileStat class
minor refactoring & cleanup
.
simplified HashLogger class