We can do that with another classmethod if necessary. This demo runs based on a list of lines in a script, which you can get from a file.