They find Atticus sitting outside of the jail next to Tom's cell reading. The cord with the light was running through the bars of the second floor window and hung down to help him see what he was reading.