After you read this data once, (I assume its a text based format...) save it out in a more efficient binary format. and subsequently read that data in future sessions putting the text original aside.
I find the fst package very good for this workflow.