Transport in finite size systems: An exit time approach