set format for input files. three layers. actors, items, base.