Ей пришлось + infinitive
This pattern expresses unavoidable necessity caused by circumstances, not a personal choice or a direct order. It is very useful in Russian when something has to be done because conditions force it. For example: «Мне пришлось работать без компьютера.» = "I had to work without a computer." In the story, «Ей пришлось переносить важные файлы» shows that the situation made the action necessary.
Мне пришлось работать без компьютера.
I had to work without a computer.
