Upload a file to open ai background

Hey I have a whole textbook (text only) I want to make it read to open ai background davinci so I can ask him specific question about the textbook. For example whats the first word of the page 23, answer this question (insert question), etc. only using the data from the textbook. Whats the easiest way to do that ?

Please and thank you