Use size instead of stat.size