I am reading in a pdf file and appending its content to an empty list in a for loop. Whenever I look at this code it feels like it could be more efficient but in this case I