WIP: model filetypes and conversion