`find_pages` is supposed to locate the pages, so I don't suggest adding preloading codes here. 
Or maybe you can change the function name if it is not used elsewhere.