mode types to runtime file