There isn’t, but you can grab the code 33 (which isn’t long and almost exclusively about loading the file) and wrap the with block linked in a for loop. If you then start examples with an empty list and use examples += ... after reading the file, you’re good to go.
Best regards
Thomas