Fixed how to get the books from the file