add get_size for dirs
typo