Large file display using Dash

I am looking to load and display the content of a large text file using Dash. However, Dash takes too long if I load the entire file content to a string. I want to display the file in chunks based on scroll event. Please share pointers on how this can be achieved.