refactor(commander) getFilesStat