refactor(size) emit: size -> file