OrderedDict for action table
terminate file as per POSIX text file specification