Line Bundle Associated to a Cartier Divisor