Generating a list of file names of your models should be quite easy: use ent_next to parse all your entities, then write their file names to a text file.