added filetype and filesize to model