refactor(commander) readDir -> getAllStats