Implemented multiple subevent IDs

Multiple subevent IDs are now supported; the subevent IDs are read from
a text file;