To understand the event "I read until quite late last night.", it is important to know that You are studying for an exam.