Python Processing A File And Lines