outputing file for model editor